Skip to content

ASTtools::collectLocalVisibleVarSyms

Collect var syms declared at 'root' or below that are visible to 'target'.

Synopsis

Declared in <src/midend/programTransformation/astOutlining/VarSym.hh>

[[visibility]]
void
collectLocalVisibleVarSyms(
    SgStatement const* root,
    SgStatement const* target,
    VarSymSet_t& syms);

Parameters

Name

Description

root

This class represents the notion of a statement.

target

This class represents the notion of a statement.

syms

Stores a collection of SgVariableSymbols (var syms).

Created with MrDocs