class ArgumentConstructionContext
Declaration
class ArgumentConstructionContext : 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:651
Inherits from: ConstructionContext
Member Variables
- private const clang::Expr* CE
- private unsigned int Index
- private const clang::CXXBindTemporaryExpr* BTE
Inherited from ConstructionContext:
Method Overview
- private ArgumentConstructionContext(const clang::Expr * CE, unsigned int Index, const clang::CXXBindTemporaryExpr * BTE)
- public static bool classof(const clang::ConstructionContext * CC)
- public const clang::CXXBindTemporaryExpr * getCXXBindTemporaryExpr() const
- public const clang::Expr * getCallLikeExpr() const
- public unsigned int getIndex() const
Inherited from ConstructionContext:
Methods
¶ArgumentConstructionContext(
const clang::Expr* CE,
unsigned int Index,
const clang::CXXBindTemporaryExpr* BTE)
ArgumentConstructionContext(
const clang::Expr* CE,
unsigned int Index,
const clang::CXXBindTemporaryExpr* BTE)
Declared at: clang/include/clang/Analysis/ConstructionContext.h:665
Parameters
- const clang::Expr* CE
- unsigned int Index
- const clang::CXXBindTemporaryExpr* BTE
¶static bool classof(
const clang::ConstructionContext* CC)
static bool classof(
const clang::ConstructionContext* CC)
Declared at: clang/include/clang/Analysis/ConstructionContext.h:679
Parameters
- const clang::ConstructionContext* CC
¶const clang::CXXBindTemporaryExpr*
getCXXBindTemporaryExpr() const
const clang::CXXBindTemporaryExpr*
getCXXBindTemporaryExpr() const
Declared at: clang/include/clang/Analysis/ConstructionContext.h:677
¶const clang::Expr* getCallLikeExpr() const
const clang::Expr* getCallLikeExpr() const
Declared at: clang/include/clang/Analysis/ConstructionContext.h:675
¶unsigned int getIndex() const
unsigned int getIndex() const
Declared at: clang/include/clang/Analysis/ConstructionContext.h:676