Skip to content

SageInterface::fixLabelStatement

Register a label once its scope is known. A null scope defers registration.

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility("default")]]
void
fixLabelStatement(
    SgLabelStatement* label_stmt,
    SgScopeStatement* scope);

Parameters

Name Description
label_stmt This class represents the concept of a C or C++ label statement.
scope This class represents the concept of a scope in C++ (e.g. global scope, fuction scope, etc.).

Created with MrDocs