Skip to content

SageInterface::generateUniqueNameForUseAsIdentifier

Generate a useful name to support construction of identifiers from declarations.

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

std::string
generateUniqueNameForUseAsIdentifier(SgDeclarationStatement* declaration);

Description

This function permits names to be generated that will be unique across translation units (a specific requirement different from the context of the get_name() functions above).

This supports only a restricted set of declarations presently.

Parameters

Name

Description

declaration

This class represents the concept of a declaration statement.

Created with MrDocs