Skip to content

SageInterface::fixVariableDeclaration

Publish a completed variable declaration's semantic scope and symbols.

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility("default")]]
void
fixVariableDeclaration(
    SgVariableDeclaration* varDecl,
    SgScopeStatement* scope);

Parameters

Name Description
varDecl This class represents the concept of a C or C++ variable declaration.
scope This class represents the concept of a scope in C++ (e.g. global scope, fuction scope, etc.).

Created with MrDocs