CPreproc::IfDirectiveExtractor
Traversal to extract '#if' directives.
Synopsis
Declared in <src/midend/programTransformation/astOutlining/IfDirectiveExtractor.hh>
class IfDirectiveExtractor
: public ASTtools::PrePostTraversal
Base Classes
Name |
Description |
Member Functions
Name |
Description |
|
Construct from |
|
|
|
Protected Member Functions
Name |
Private Member Functions
Name |
Description |
Adds the given directive/node to the current '#if' case. |
|
Updates the tree structure for a newly encountered 'info' directive. |
|
Creates a new '#if' directive. |
|
If the stack is empty, aborts with a message. |
|
Visits a node, either on the top‐down or bottom‐up visit. |
Private Static Member Functions
Name |
Description |
Asserts that we are not trying to add a case to a terminated '#if'. |
Private Data Members
Derived Classes
Name |
Description |
Find the '#if' case surrounding a given node. |
Created with MrDocs