Skip to content

fixupAstSymbolTables

Fixup global and local symbol tables.

Synopsis

Declared in <SageIII/astPostProcessing/fixupSymbolTables.h>

void
fixupAstSymbolTables(SgNode* node);

Description

The global symbol table needs to be rebuilt (since it was originally constructed using legacy frontend names and we have changed the names of templates to (more readable) Sage III names (e.g. converting "_A___L1234" to "A < int >").

Local symbol tables are fixed as well, but all that apepars required is to give all scopes (e.g. empty scopes) a valid symbol table pointer.

the global function type symbol table is not rebuilt yet.

Parameters

Name

Description

node

This class represents the base class for all IR nodes within Sage III.

Created with MrDocs