Skip to content

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("default")]]
bool
mergeAssignmentWithDeclaration(
    SgExprStatement* assign_stmt,
    SgVariableDeclaration* decl);

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