clang  6.0.0svn
Public Member Functions | Static Public Member Functions | Friends | List of all members
clang::ScopeContext Class Reference

#include "clang/Analysis/AnalysisDeclContext.h"

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

Public Member Functions

 ~ScopeContext () override
 
void Profile (llvm::FoldingSetNodeID &ID) override
 
- Public Member Functions inherited from clang::LocationContext
virtual ~LocationContext ()
 
ContextKind getKind () const
 
AnalysisDeclContextgetAnalysisDeclContext () const
 
const LocationContextgetParent () const
 
bool isParentOf (const LocationContext *LC) const
 
const DeclgetDecl () const
 
CFGgetCFG () const
 
template<typename T >
TgetAnalysis () const
 
ParentMapgetParentMap () const
 
const ImplicitParamDeclgetSelfDecl () const
 
const StackFrameContextgetCurrentStackFrame () const
 
virtual bool inTopFrame () const
 Return true if the current LocationContext has no caller context. More...
 
void dumpStack (raw_ostream &OS, StringRef Indent="") const
 
void dumpStack () const
 

Static Public Member Functions

static void Profile (llvm::FoldingSetNodeID &ID, AnalysisDeclContext *ctx, const LocationContext *parent, const Stmt *s)
 
static bool classof (const LocationContext *Ctx)
 
- Static Public Member Functions inherited from clang::LocationContext
static void ProfileCommon (llvm::FoldingSetNodeID &ID, ContextKind ck, AnalysisDeclContext *ctx, const LocationContext *parent, const void *data)
 

Friends

class LocationContextManager
 

Additional Inherited Members

- Public Types inherited from clang::LocationContext
enum  ContextKind { StackFrame, Scope, Block }
 
- Protected Member Functions inherited from clang::LocationContext
 LocationContext (ContextKind k, AnalysisDeclContext *ctx, const LocationContext *parent)
 

Detailed Description

Definition at line 323 of file AnalysisDeclContext.h.

Constructor & Destructor Documentation

◆ ~ScopeContext()

clang::ScopeContext::~ScopeContext ( )
inlineoverride

Definition at line 332 of file AnalysisDeclContext.h.

Member Function Documentation

◆ classof()

static bool clang::ScopeContext::classof ( const LocationContext Ctx)
inlinestatic

Definition at line 341 of file AnalysisDeclContext.h.

References clang::LocationContext::getKind().

◆ Profile() [1/2]

void ScopeContext::Profile ( llvm::FoldingSetNodeID &  ID)
overridevirtual

Implements clang::LocationContext.

Definition at line 364 of file AnalysisDeclContext.cpp.

◆ Profile() [2/2]

static void clang::ScopeContext::Profile ( llvm::FoldingSetNodeID &  ID,
AnalysisDeclContext ctx,
const LocationContext parent,
const Stmt s 
)
inlinestatic

Definition at line 336 of file AnalysisDeclContext.h.

Friends And Related Function Documentation

◆ LocationContextManager

friend class LocationContextManager
friend

Definition at line 326 of file AnalysisDeclContext.h.


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