class MangleNumberingContext
Declaration
class MangleNumberingContext { /* full declaration omitted */ };
Description
Keeps track of the mangled names of lambda expressions and block literals within a particular context.
Declared at: clang/include/clang/AST/MangleNumberingContext.h:29
Method Overview
- public virtual unsigned int getDeviceManglingNumber(const clang::CXXMethodDecl *)
- public virtual unsigned int getManglingNumber(const clang::CXXMethodDecl * CallOperator)
- public virtual unsigned int getManglingNumber(const clang::BlockDecl * BD)
- public virtual unsigned int getManglingNumber(const clang::VarDecl * VD, unsigned int MSLocalManglingNumber)
- public virtual unsigned int getManglingNumber(const clang::TagDecl * TD, unsigned int MSLocalManglingNumber)
- public virtual unsigned int getStaticLocalNumber(const clang::VarDecl * VD)
- public virtual ~MangleNumberingContext()
Methods
¶virtual unsigned int getDeviceManglingNumber(
const clang::CXXMethodDecl*)
virtual unsigned int getDeviceManglingNumber(
const clang::CXXMethodDecl*)
Description
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.
Declared at: clang/include/clang/AST/MangleNumberingContext.h:57
Parameters
- const clang::CXXMethodDecl*
¶virtual unsigned int getManglingNumber(
const clang::CXXMethodDecl* CallOperator)
virtual unsigned int getManglingNumber(
const clang::CXXMethodDecl* CallOperator)
Description
Retrieve the mangling number of a new lambda expression with the given call operator within this context.
Declared at: clang/include/clang/AST/MangleNumberingContext.h:35
Parameters
- const clang::CXXMethodDecl* CallOperator
¶virtual unsigned int getManglingNumber(
const clang::BlockDecl* BD)
virtual unsigned int getManglingNumber(
const clang::BlockDecl* BD)
Description
Retrieve the mangling number of a new block literal within this context.
Declared at: clang/include/clang/AST/MangleNumberingContext.h:39
Parameters
- const clang::BlockDecl* BD
¶virtual unsigned int getManglingNumber(
const clang::VarDecl* VD,
unsigned int MSLocalManglingNumber)
virtual unsigned int getManglingNumber(
const clang::VarDecl* VD,
unsigned int MSLocalManglingNumber)
Description
Retrieve the mangling number of a static local variable within this context.
Declared at: clang/include/clang/AST/MangleNumberingContext.h:46
Parameters
- const clang::VarDecl* VD
- unsigned int MSLocalManglingNumber
¶virtual unsigned int getManglingNumber(
const clang::TagDecl* TD,
unsigned int MSLocalManglingNumber)
virtual unsigned int getManglingNumber(
const clang::TagDecl* TD,
unsigned int MSLocalManglingNumber)
Description
Retrieve the mangling number of a static local variable within this context.
Declared at: clang/include/clang/AST/MangleNumberingContext.h:51
Parameters
- const clang::TagDecl* TD
- unsigned int MSLocalManglingNumber
¶virtual unsigned int getStaticLocalNumber(
const clang::VarDecl* VD)
virtual unsigned int getStaticLocalNumber(
const clang::VarDecl* VD)
Description
Static locals are numbered by source order.
Declared at: clang/include/clang/AST/MangleNumberingContext.h:42
Parameters
- const clang::VarDecl* VD
¶virtual ~MangleNumberingContext()
virtual ~MangleNumberingContext()
Declared at: clang/include/clang/AST/MangleNumberingContext.h:31