diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-09 01:34:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-09 01:34:18 +0300 |
commit | 8b9fae9e094d1db4901829602f245fed789abbbe (patch) | |
tree | b9b524e911d514d4d577c9a1403d46c6012a408c /src/nodes | |
parent | 97bb75fd0ca1d7053715373f4fe6eb4bfa9c13b9 (diff) | |
download | paranucker-8b9fae9e094d1db4901829602f245fed789abbbe.tar.gz paranucker-8b9fae9e094d1db4901829602f245fed789abbbe.tar.bz2 paranucker-8b9fae9e094d1db4901829602f245fed789abbbe.tar.xz paranucker-8b9fae9e094d1db4901829602f245fed789abbbe.zip |
Add basic tree analysis. Dump function arguments and detect pointers without nonnull attribute
Diffstat (limited to 'src/nodes')
-rw-r--r-- | src/nodes/base/node.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/nodes/base/node.h b/src/nodes/base/node.h index d6b42ad..d29cb5a 100644 --- a/src/nodes/base/node.h +++ b/src/nodes/base/node.h @@ -30,12 +30,13 @@ struct Node { Node() : parent(nullptr), - nodeType(), + nodeTypeName(), label(), file(), tag(), childs(), gccNode(nullptr), + nodeType(ERROR_MARK), line(-1), column(-1), treeNumber(0), @@ -59,12 +60,13 @@ struct Node } Node *parent; - std::string nodeType; + std::string nodeTypeName; std::string label; std::string file; std::string tag; std::vector<Node*> childs; tree gccNode; + tree_code nodeType; int line; int column; int treeNumber; |