clang  8.0.0svn
Public Member Functions | Static Public Member Functions | List of all members
clang::ConstructionContextLayer Class Reference

Construction context can be seen as a linked list of multiple layers. More...

#include "clang/Analysis/ConstructionContext.h"

Public Member Functions

const ConstructionContextItemgetItem () const
 
const ConstructionContextLayergetParent () const
 
bool isLast () const
 
bool isStrictlyMoreSpecificThan (const ConstructionContextLayer *Other) const
 See if Other is a proper initial segment of this construction context in terms of the parent chain - i.e. More...
 

Static Public Member Functions

static const ConstructionContextLayercreate (BumpVectorContext &C, const ConstructionContextItem &Item, const ConstructionContextLayer *Parent=nullptr)
 

Detailed Description

Construction context can be seen as a linked list of multiple layers.

Sometimes a single trigger is not enough to describe the construction site. That's what causing us to have a chain of "partial" construction context layers. Some examples:

Definition at line 203 of file ConstructionContext.h.

Member Function Documentation

◆ create()

const ConstructionContextLayer * ConstructionContextLayer::create ( BumpVectorContext C,
const ConstructionContextItem Item,
const ConstructionContextLayer Parent = nullptr 
)
static

Definition at line 23 of file ConstructionContext.cpp.

References clang::BumpVectorContext::getAllocator().

◆ getItem()

const ConstructionContextItem& clang::ConstructionContextLayer::getItem ( ) const
inline

◆ getParent()

const ConstructionContextLayer* clang::ConstructionContextLayer::getParent ( ) const
inline

◆ isLast()

bool clang::ConstructionContextLayer::isLast ( ) const
inline

◆ isStrictlyMoreSpecificThan()

bool ConstructionContextLayer::isStrictlyMoreSpecificThan ( const ConstructionContextLayer Other) const

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