SageBuilder::buildOpaqueVarRefExp
Build a variable reference expression at scope to an opaque variable which has unknown information except for its name. Used when referring to an internal variable defined in some headers of runtime libraries.(The headers are not yet inserted into the file during translation). Similar to buildOpaqueType(); It will declare a hidden int varName at the specified scope to cheat the AST consistence tests.
Synopsis
Declared in <SageIII/sageInterface/sageBuilder.h>
[[visibility]]
SgVarRefExp*
buildOpaqueVarRefExp(
std::string const& varName,
SgScopeStatement* scope = NULL);
Return Value
This class represents the variable refernece in expressions.
Parameters
Name |
Description |
scope |
This class represents the concept of a scope in C++ (e.g. global scope, fuction scope, etc.). |
Created with MrDocs