SageInterface::mergeAssignmentWithDeclaration
Merge an assignment into its upstream declaration statement. Callers should make sure the merge is semantically correct.
Synopsis
Declared in <SageIII/sageInterface/sageInterface.h>
[[visibility]]
bool
mergeAssignmentWithDeclaration(
SgExprStatement* assign_stmt,
SgVariableDeclaration* decl,
bool removeAssignStmt = true);
Parameters
Name |
Description |
assign_stmt |
This class represents the concept of a C or C++ statement which contains a |
decl |
This class represents the concept of a C or C++ variable declaration. |
Created with MrDocs