SageInterface::appendStatementWithDependentDeclaration
Append a copy ('decl') of a function ('original_statement') into a 'scope', include any referenced declarations required if the scope is within a compiler generated file. All referenced declarations, including those from headers, are inserted if excludeHeaderFiles is set to true (the new file will not have any headers).
Synopsis
Declared in <SageIII/sageInterface/sageInterface.h>
[[visibility]]
void
appendStatementWithDependentDeclaration(
SgDeclarationStatement* decl,
SgGlobal* scope,
SgStatement* original_statement,
bool excludeHeaderFiles);
Parameters
Name |
Description |
decl |
This class represents the concept of a declaration statement. |
scope |
This class represents the concept of a namespace definition. |
original_statement |
This class represents the notion of a statement. |
Created with MrDocs