clang API Documentation

Public Member Functions
clang::MangleNumberingContext Class Reference

Keeps track of the mangled names of lambda expressions and block literals within a particular context. More...

#include <MangleNumberingContext.h>

Inheritance diagram for clang::MangleNumberingContext:
Inheritance graph
[legend]
Collaboration diagram for clang::MangleNumberingContext:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual ~MangleNumberingContext ()
virtual unsigned getManglingNumber (const CXXMethodDecl *CallOperator)=0
 Retrieve the mangling number of a new lambda expression with the given call operator within this context.
virtual unsigned getManglingNumber (const BlockDecl *BD)=0
 Retrieve the mangling number of a new block literal within this context.
virtual unsigned getStaticLocalNumber (const VarDecl *VD)=0
 Static locals are numbered by source order.
virtual unsigned getManglingNumber (const VarDecl *VD, unsigned MSLocalManglingNumber)=0
 Retrieve the mangling number of a static local variable within this context.
virtual unsigned getManglingNumber (const TagDecl *TD, unsigned MSLocalManglingNumber)=0
 Retrieve the mangling number of a static local variable within this context.

Detailed Description

Keeps track of the mangled names of lambda expressions and block literals within a particular context.

Definition at line 33 of file MangleNumberingContext.h.


Constructor & Destructor Documentation

Definition at line 35 of file MangleNumberingContext.h.


Member Function Documentation

virtual unsigned clang::MangleNumberingContext::getManglingNumber ( const CXXMethodDecl CallOperator) [pure virtual]

Retrieve the mangling number of a new lambda expression with the given call operator within this context.

Referenced by HandleTagNumbering().

Retrieve the mangling number of a new block literal within this context.

virtual unsigned clang::MangleNumberingContext::getManglingNumber ( const VarDecl VD,
unsigned  MSLocalManglingNumber 
) [pure virtual]

Retrieve the mangling number of a static local variable within this context.

virtual unsigned clang::MangleNumberingContext::getManglingNumber ( const TagDecl TD,
unsigned  MSLocalManglingNumber 
) [pure virtual]

Retrieve the mangling number of a static local variable within this context.

Static locals are numbered by source order.


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