class ReturnedValueConstructionContext
Declaration
class ReturnedValueConstructionContext : 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:582
Inherits from: ConstructionContext
Member Variables
- private const clang::ReturnStmt* RS
Inherited from ConstructionContext:
Method Overview
- protected ReturnedValueConstructionContext(ConstructionContext::Kind K, const clang::ReturnStmt * RS)
- public static bool classof(const clang::ConstructionContext * CC)
- public const clang::ReturnStmt * getReturnStmt() const
Inherited from ConstructionContext:
Methods
¶ReturnedValueConstructionContext(
ConstructionContext::Kind K,
const clang::ReturnStmt* RS)
ReturnedValueConstructionContext(
ConstructionContext::Kind K,
const clang::ReturnStmt* RS)
Declared at: clang/include/clang/Analysis/ConstructionContext.h:586
Parameters
- ConstructionContext::Kind K
- const clang::ReturnStmt* RS
¶static bool classof(
const clang::ConstructionContext* CC)
static bool classof(
const clang::ConstructionContext* CC)
Declared at: clang/include/clang/Analysis/ConstructionContext.h:596
Parameters
- const clang::ConstructionContext* CC
¶const clang::ReturnStmt* getReturnStmt() const
const clang::ReturnStmt* getReturnStmt() const
Declared at: clang/include/clang/Analysis/ConstructionContext.h:594