clang: clang::ASTNameGenerator Class Reference (original) (raw)

#include "[clang/AST/Mangle.h](Mangle%5F8h%5Fsource.html)"

Public Member Functions
ASTNameGenerator (ASTContext &Ctx)
~ASTNameGenerator ()
bool writeName (const Decl *D, raw_ostream &OS)
Writes name for D to OS.
std::string getName (const Decl *D)
std::vector< std::string > getAllManglings (const Decl *D)

Definition at line 297 of file Mangle.h.

ASTNameGenerator::ASTNameGenerator ( ASTContext & Ctx) explicit

~ASTNameGenerator()

ASTNameGenerator::~ASTNameGenerator ( )

getAllManglings()

std::vector< std::string > ASTNameGenerator::getAllManglings ( const Decl * D )

Returns

all applicable mangled names. For example C++ constructors/destructors can have multiple.

Definition at line 610 of file Mangle.cpp.

References D.

getName()

std::string ASTNameGenerator::getName ( const Decl * D )

writeName()

bool ASTNameGenerator::writeName ( const Decl * D,
raw_ostream & OS
)

Writes name for D to OS.

Returns

true on failure, false on success.

Definition at line 602 of file Mangle.cpp.

References D.


The documentation for this class was generated from the following files: