clang  11.0.0git
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 206 of file ConstructionContext.h.

Member Function Documentation

◆ create()

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

Definition at line 22 of file ConstructionContext.cpp.

References clang::BumpVectorContext::getAllocator().

Referenced by FindVA().

◆ getItem()

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

◆ getParent()

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

◆ isLast()

bool clang::ConstructionContextLayer::isLast ( ) const

◆ isStrictlyMoreSpecificThan()

bool ConstructionContextLayer::isStrictlyMoreSpecificThan ( const ConstructionContextLayer Other) const

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