SageInterface::replaceVariableReferences
Replace all variable references to an old symbol in a scope to being references to a new symbol.
Synopsis
Declared in <SageIII/sageInterface/sageInterface.h>
[[visibility]]
void
replaceVariableReferences(
SgVariableSymbol* old_sym,
SgVariableSymbol* new_sym,
SgScopeStatement* scope);
Parameters
Name |
Description |
old_sym |
This class represents the concept of a variable name within the compiler (a |
new_sym |
This class represents the concept of a variable name within the compiler (a |
scope |
This class represents the concept of a scope in C++ (e.g. global scope, fuction scope, etc.). |
Created with MrDocs