class SimpleReturnedValueConstructionContext
Declaration
class SimpleReturnedValueConstructionContext
: public ReturnedValueConstructionContext { /* full declaration omitted */ };
Description
Represents a temporary object that is being immediately returned from a function by value, eg. return t; or return T(123);. In this case there is always going to be a constructor at the return site. However, the usual temporary-related bureaucracy (CXXBindTemporaryExpr, MaterializeTemporaryExpr) is normally located in the caller function's AST.
Declared at: clang/include/clang/Analysis/ConstructionContext.h:607
Inherits from: ReturnedValueConstructionContext
Member Variables
Inherited from ConstructionContext:
Method Overview
- private SimpleReturnedValueConstructionContext(const clang::ReturnStmt * RS)
- public static bool classof(const clang::ConstructionContext * CC)
Inherited from ReturnedValueConstructionContext:
Inherited from ConstructionContext:
Methods
¶SimpleReturnedValueConstructionContext(
const clang::ReturnStmt* RS)
SimpleReturnedValueConstructionContext(
const clang::ReturnStmt* RS)
Declared at: clang/include/clang/Analysis/ConstructionContext.h:611
Parameters
- 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:616
Parameters
- const clang::ConstructionContext* CC