clang  7.0.0svn
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
clang::ReturnedValueConstructionContext Class Reference

#include "clang/Analysis/ConstructionContext.h"

Inheritance diagram for clang::ReturnedValueConstructionContext:
Inheritance graph
[legend]
Collaboration diagram for clang::ReturnedValueConstructionContext:
Collaboration graph
[legend]

Public Member Functions

const ReturnStmtgetReturnStmt () const
 
- Public Member Functions inherited from clang::ConstructionContext
Kind getKind () const
 

Static Public Member Functions

static bool classof (const ConstructionContext *CC)
 
- Static Public Member Functions inherited from clang::ConstructionContext
static const ConstructionContextcreateFromLayers (BumpVectorContext &C, const ConstructionContextLayer *TopLayer)
 Consume the construction context layer, together with its parent layers, and wrap it up into a complete construction context. More...
 

Protected Member Functions

 ReturnedValueConstructionContext (ConstructionContext::Kind K, const ReturnStmt *RS)
 
- Protected Member Functions inherited from clang::ConstructionContext
 ConstructionContext (Kind K)
 

Additional Inherited Members

- Public Types inherited from clang::ConstructionContext
enum  Kind {
  SimpleVariableKind, CXX17ElidedCopyVariableKind, VARIABLE_BEGIN = SimpleVariableKind, VARIABLE_END = CXX17ElidedCopyVariableKind,
  SimpleConstructorInitializerKind, CXX17ElidedCopyConstructorInitializerKind, INITIALIZER_BEGIN = SimpleConstructorInitializerKind, INITIALIZER_END = CXX17ElidedCopyConstructorInitializerKind,
  NewAllocatedObjectKind, TemporaryObjectKind, SimpleReturnedValueKind, CXX17ElidedCopyReturnedValueKind,
  RETURNED_VALUE_BEGIN = SimpleReturnedValueKind, RETURNED_VALUE_END = CXX17ElidedCopyReturnedValueKind
}
 
- Protected Attributes inherited from clang::ConstructionContext
Kind K
 

Detailed Description

Definition at line 341 of file ConstructionContext.h.

Constructor & Destructor Documentation

◆ ReturnedValueConstructionContext()

clang::ReturnedValueConstructionContext::ReturnedValueConstructionContext ( ConstructionContext::Kind  K,
const ReturnStmt RS 
)
inlineexplicitprotected

Definition at line 345 of file ConstructionContext.h.

References clang::classof().

Member Function Documentation

◆ classof()

static bool clang::ReturnedValueConstructionContext::classof ( const ConstructionContext CC)
inlinestatic

Definition at line 355 of file ConstructionContext.h.

References clang::ConstructionContext::getKind().

◆ getReturnStmt()

const ReturnStmt* clang::ReturnedValueConstructionContext::getReturnStmt ( ) const
inline

Definition at line 353 of file ConstructionContext.h.


The documentation for this class was generated from the following file: