Skip to content

SageInterface::set_name

set_name of symbol in symbol table.

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility]]
int
set_name(
    SgInitializedName* initializedNameNode,
    SgName new_name);

Description

This function extracts the symbol from the relavant symbol table, changes the name (at the declaration) and reinserts it into the symbol table.

I think this is what this function does, I need to double check.

Parameters

Name

Description

initializedNameNode

This class represents the notion of a declared variable.

new_name

This class represents strings within the IR nodes.

Created with MrDocs