SageInterface::moveVariableDeclaration
Move a variable declaration to a new scope, handle symbol, special scopes like For loop, etc.
Synopsis
Declared in <SageIII/sageInterface/sageInterface.h>
[[visibility]]
void
moveVariableDeclaration(
SgVariableDeclaration* decl,
SgScopeStatement* target_scope);
Parameters
Name |
Description |
decl |
This class represents the concept of a C or C++ variable declaration. |
target_scope |
This class represents the concept of a scope in C++ (e.g. global scope, fuction scope, etc.). |
Created with MrDocs