Skip to content

SgStatement::set_scope

Support for setting scopes (only meaningful on IR statements that store the scope explicitly).

Synopsis

Declared in <src/frontend/SageIII/Cxx_Grammar.h> (not stored in Git)

virtual
void
set_scope(SgScopeStatement* newScope);

Parameters

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

Created with MrDocs