clang 20.0.0git
|
Keeps track of the mangled names of lambda expressions and block literals within a particular context. More...
#include "clang/AST/MangleNumberingContext.h"
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. | |
virtual unsigned | getDeviceManglingNumber (const CXXMethodDecl *) |
Retrieve the mangling number of a new lambda expression with the given call operator within the device context. | |
unsigned | getNextLambdaIndex () |
Keeps track of the mangled names of lambda expressions and block literals within a particular context.
Definition at line 29 of file MangleNumberingContext.h.
|
inlinevirtual |
Definition at line 34 of file MangleNumberingContext.h.
|
inlinevirtual |
Retrieve the mangling number of a new lambda expression with the given call operator within the device context.
No device number is assigned if there's no device numbering context is associated.
Definition at line 60 of file MangleNumberingContext.h.
Referenced by clang::Sema::handleLambdaNumbering().
|
pure virtual |
Retrieve the mangling number of a new block literal within this context.
|
pure virtual |
Retrieve the mangling number of a new lambda expression with the given call operator within this context.
Referenced by clang::Sema::ActOnBlockStart(), clang::Sema::ActOnVariableDeclarator(), clang::Sema::BuildAnonymousStructOrUnion(), clang::Sema::handleLambdaNumbering(), and clang::Sema::handleTagNumbering().
|
pure virtual |
Retrieve the mangling number of a static local variable within this context.
|
pure virtual |
Retrieve the mangling number of a static local variable within this context.
|
inline |
Definition at line 65 of file MangleNumberingContext.h.
Referenced by clang::Sema::handleLambdaNumbering().
|
pure virtual |
Static locals are numbered by source order.
Referenced by clang::Sema::ActOnVariableDeclarator(), and clang::Sema::BuildAnonymousStructOrUnion().