CPreproc¶
Types¶
| Name | Description |
|---|---|
If | Stores a preprocessor '#if' directive and nested directives. |
IfDirectiveContextFinder | Find the '#if' case surrounding a given node. |
IfDirectiveExtractor | Traversal to extract '#if' directives. |
Type Aliases¶
| Name | Description |
|---|---|
Ifs_t | Stores lists of directives. |
Functions¶
| Name | Description |
|---|---|
dumpvoid dump(Ifs_t const ifs); | dump overloads |
extractIfDirectivesvoid extractIfDirectives( SgNode* root, Ifs_t& ifs); | Extracts the '#if' directive structure from a project. |
findIfDirectiveContextvoid findIfDirectiveContext( SgLocatedNode const* target, Ifs_t& ifs, If::Case*& top, If::Case*& bottom); | Locate the '#if' directive context at a node. |
Created with MrDocs