A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://clang.llvm.org/doxygen/classclang_1_1ento_1_1CallEventManager.html below:

clang: clang::ento::CallEventManager Class Reference

Manages the lifetime of CallEvent objects. More...

#include "clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h"

Public Member Functions   CallEventManager (llvm::BumpPtrAllocator &alloc)   CallEventRef  getCaller (const StackFrameContext *CalleeCtx, ProgramStateRef State)   Gets an outside caller given a callee context.
  CallEventRef  getCall (const Stmt *S, ProgramStateRef State, const LocationContext *LC, CFGBlock::ConstCFGElementRef ElemRef)   Gets a call event for a function call, Objective-C method call, a 'new', or a 'delete' call.
  CallEventRef  getSimpleCall (const CallExpr *E, ProgramStateRef State, const LocationContext *LCtx, CFGBlock::ConstCFGElementRef ElemRef)   CallEventRef< ObjCMethodCallgetObjCMethodCall (const ObjCMessageExpr *E, ProgramStateRef State, const LocationContext *LCtx, CFGBlock::ConstCFGElementRef ElemRef)   CallEventRef< CXXConstructorCallgetCXXConstructorCall (const CXXConstructExpr *E, const MemRegion *Target, ProgramStateRef State, const LocationContext *LCtx, CFGBlock::ConstCFGElementRef ElemRef)   CallEventRef< CXXInheritedConstructorCallgetCXXInheritedConstructorCall (const CXXInheritedCtorInitExpr *E, const MemRegion *Target, ProgramStateRef State, const LocationContext *LCtx, CFGBlock::ConstCFGElementRef ElemRef)   CallEventRef< CXXDestructorCallgetCXXDestructorCall (const CXXDestructorDecl *DD, const Stmt *Trigger, const MemRegion *Target, bool IsBase, ProgramStateRef State, const LocationContext *LCtx, CFGBlock::ConstCFGElementRef ElemRef)   CallEventRef< CXXAllocatorCallgetCXXAllocatorCall (const CXXNewExpr *E, ProgramStateRef State, const LocationContext *LCtx, CFGBlock::ConstCFGElementRef ElemRef)   CallEventRef< CXXDeallocatorCallgetCXXDeallocatorCall (const CXXDeleteExpr *E, ProgramStateRef State, const LocationContext *LCtx, CFGBlock::ConstCFGElementRef ElemRef)   Detailed Description

Manages the lifetime of CallEvent objects.

CallEventManager provides a way to create arbitrary CallEvents "on the stack" as if they were value objects by keeping a cache of CallEvent-sized memory blocks. The CallEvents created by CallEventManager are only valid for the lifetime of the OwnedCallEvent that holds them; right now these objects cannot be copied and ownership cannot be transferred.

Definition at line 1361 of file CallEvent.h.

Constructor & Destructor Documentation ◆ CallEventManager() clang::ento::CallEventManager::CallEventManager ( llvm::BumpPtrAllocator &  alloc ) inline

Definition at line 1415 of file CallEvent.h.

Member Function Documentation ◆ getCall() ◆ getCaller()

Gets an outside caller given a callee context.

Definition at line 1438 of file CallEvent.cpp.

References E, clang::ento::SVal::getAsRegion(), getCall(), clang::StackFrameContext::getCallSite(), clang::StackFrameContext::getCallSiteBlock(), getCXXConstructorCall(), getCXXDestructorCall(), getCXXInheritedConstructorCall(), clang::ento::SValBuilder::getCXXThis(), clang::LocationContext::getDecl(), clang::StackFrameContext::getIndex(), clang::LocationContext::getParent(), and clang::LocationContext::getStackFrame().

Referenced by annotateConsumedSummaryMismatch(), clang::ento::CallEvent::getCaller(), clang::ento::ExprEngine::processCallExit(), clang::ento::NoStateChangeFuncVisitor::VisitNode(), and clang::ento::UndefOrNullArgVisitor::VisitNode().

◆ getCXXAllocatorCall() ◆ getCXXConstructorCall() ◆ getCXXDeallocatorCall() ◆ getCXXDestructorCall() ◆ getCXXInheritedConstructorCall() ◆ getObjCMethodCall() ◆ getSimpleCall() Friends And Related Function Documentation ◆ CallEvent

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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4