SgNodeHelper::switchRelevantCaseStmtNodes
collects all case labels from the switch it started in (excludes nested switch stmts). This function also works for Duff's device code where 'case' labels can be inside nested loop/if constructs.
Synopsis
Declared in <src/midend/abstractLayer/SgNodeHelper.h>
std::set<SgCaseOptionStmt*>
switchRelevantCaseStmtNodes(SgNode* node);
Parameters
Name |
Description |
node |
This class represents the base class for all IR nodes within Sage III. |
Created with MrDocs