clang  9.0.0svn
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
clang::VariableConstructionContext Class Reference

An abstract base class for local variable constructors. More...

#include "clang/Analysis/ConstructionContext.h"

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

Public Member Functions

const DeclStmtgetDeclStmt () 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

 VariableConstructionContext (ConstructionContext::Kind K, const DeclStmt *DS)
 
- 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, SimpleTemporaryObjectKind, ElidedTemporaryObjectKind, TEMPORARY_BEGIN = SimpleTemporaryObjectKind,
  TEMPORARY_END = ElidedTemporaryObjectKind, SimpleReturnedValueKind, CXX17ElidedCopyReturnedValueKind, RETURNED_VALUE_BEGIN = SimpleReturnedValueKind,
  RETURNED_VALUE_END = CXX17ElidedCopyReturnedValueKind, ArgumentKind
}
 
- Protected Attributes inherited from clang::ConstructionContext
Kind K
 

Detailed Description

An abstract base class for local variable constructors.

Definition at line 300 of file ConstructionContext.h.

Constructor & Destructor Documentation

◆ VariableConstructionContext()

clang::VariableConstructionContext::VariableConstructionContext ( ConstructionContext::Kind  K,
const DeclStmt DS 
)
inlineprotected

Definition at line 304 of file ConstructionContext.h.

References clang::classof().

Member Function Documentation

◆ classof()

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

Definition at line 313 of file ConstructionContext.h.

References clang::ConstructionContext::getKind().

◆ getDeclStmt()

const DeclStmt* clang::VariableConstructionContext::getDeclStmt ( ) const
inline

Definition at line 311 of file ConstructionContext.h.


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