Skip to content

SageInterface::fixStatement

A wrapper containing fixes (fixVariableDeclaration(),fixStructDeclaration(), fixLabelStatement(), etc) for all kinds statements. Should be used before attaching the statement into AST.

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility]]
void
fixStatement(
    SgStatement* stmt,
    SgScopeStatement* scope);

Parameters

Name

Description

stmt

This class represents the notion of a statement.

scope

This class represents the concept of a scope in C++ (e.g. global scope, fuction scope, etc.).

Created with MrDocs