class ConstructorInitializerConstructionContext
Declaration
class ConstructorInitializerConstructionContext
: public ConstructionContext { /* full declaration omitted */ };
Description
ConstructionContext's subclasses describe different ways of constructing an object in C++. The context re-captures the essential parent AST nodes of the CXXConstructExpr it is assigned to and presents these nodes through easy-to-understand accessor methods.
Declared at: clang/include/clang/Analysis/ConstructionContext.h:388
Inherits from: ConstructionContext
Member Variables
- private const clang::CXXCtorInitializer* I
Inherited from ConstructionContext:
Method Overview
- protected ConstructorInitializerConstructionContext(ConstructionContext::Kind K, const clang::CXXCtorInitializer * I)
- public static bool classof(const clang::ConstructionContext * CC)
- public const clang::ArrayInitLoopExpr * getArrayInitLoop() const
- public const clang::CXXCtorInitializer * getCXXCtorInitializer() const
Inherited from ConstructionContext:
Methods
¶ConstructorInitializerConstructionContext(
ConstructionContext::Kind K,
const clang::CXXCtorInitializer* I)
ConstructorInitializerConstructionContext(
ConstructionContext::Kind K,
const clang::CXXCtorInitializer* I)
Declared at: clang/include/clang/Analysis/ConstructionContext.h:392
Parameters
- ConstructionContext::Kind K
- const clang::CXXCtorInitializer* I
¶static bool classof(
const clang::ConstructionContext* CC)
static bool classof(
const clang::ConstructionContext* CC)
Declared at: clang/include/clang/Analysis/ConstructionContext.h:406
Parameters
- const clang::ConstructionContext* CC
¶const clang::ArrayInitLoopExpr* getArrayInitLoop()
const
const clang::ArrayInitLoopExpr* getArrayInitLoop()
const
Declared at: clang/include/clang/Analysis/ConstructionContext.h:402
¶const clang::CXXCtorInitializer*
getCXXCtorInitializer() const
const clang::CXXCtorInitializer*
getCXXCtorInitializer() const
Declared at: clang/include/clang/Analysis/ConstructionContext.h:400