Home
last modified time | relevance | path

Searched refs:Mgr (Results 1 – 21 of 21) sorted by relevance

/external/clang/lib/StaticAnalyzer/Frontend/
DAnalysisConsumer.cpp175 std::unique_ptr<AnalysisManager> Mgr; member in __anon21207c5c0211::AnalysisConsumer
247 SourceManager &SM = Mgr->getASTContext().getSourceManager(); in DisplayFunction()
289 Mgr.reset(new AnalysisManager(*Ctx, in Initialize()
340 checkerMgr->runCheckersOnASTDecl(D, *Mgr, *RecVisitorBR); in VisitDecl()
353 assert(RecVisitorMode == AM_Syntax || Mgr->shouldInlineCall() == false); in VisitFunctionDecl()
361 assert(RecVisitorMode == AM_Syntax || Mgr->shouldInlineCall() == false); in VisitObjCMethodDecl()
369 assert(RecVisitorMode == AM_Syntax || Mgr->shouldInlineCall() == false); in VisitBlockDecl()
492 (Mgr->options.InliningMode == All ? nullptr : &VisitedCallees)); in HandleDeclsCallGraph()
513 BugReporter BR(*Mgr); in HandleTranslationUnit()
515 checkerMgr->runCheckersOnASTDecl(TU, *Mgr, BR); in HandleTranslationUnit()
[all …]
/external/clang/lib/StaticAnalyzer/Core/
DProgramState.cpp37 ProgramStateManager &Mgr = s->getStateManager(); in ProgramStateRelease() local
38 Mgr.StateSet.RemoveNode(s); in ProgramStateRelease()
40 Mgr.freeStates.push_back(s); in ProgramStateRelease()
115 ProgramStateManager &Mgr = getStateManager(); in bindLoc() local
116 ProgramStateRef newState = makeWithStore(Mgr.StoreMgr->Bind(getStore(), in bindLoc()
119 if (MR && Mgr.getOwningEngine() && notifyChanges) in bindLoc()
120 return Mgr.getOwningEngine()->processRegionChange(newState, MR); in bindLoc()
126 ProgramStateManager &Mgr = getStateManager(); in bindDefault() local
128 const StoreRef &newStore = Mgr.StoreMgr->BindDefault(getStore(), R, V); in bindDefault()
130 return Mgr.getOwningEngine() ? in bindDefault()
[all …]
/external/clang/lib/StaticAnalyzer/Checkers/
DObjCMissingSuperCallChecker.cpp72 void checkASTDecl(const ObjCImplementationDecl *D, AnalysisManager &Mgr,
169 AnalysisManager &Mgr, in checkASTDecl() argument
201 Mgr.getAnalysisDeclContext(D)); in checkASTDecl()
223 void ento::registerObjCSuperCallChecker(CheckerManager &Mgr) { in registerObjCSuperCallChecker() argument
224 Mgr.registerChecker<ObjCSuperCallChecker>(); in registerObjCSuperCallChecker()
DChrootChecker.cpp89 ProgramStateManager &Mgr = state->getStateManager(); in Chroot() local
93 state = Mgr.addGDM(state, ChrootChecker::getTag(), (void*) ROOT_CHANGED); in Chroot()
99 ProgramStateManager &Mgr = state->getStateManager(); in Chdir() local
115 state = Mgr.addGDM(state, ChrootChecker::getTag(), in Chdir()
DDirectIvarAssignment.cpp92 void checkASTDecl(const ObjCImplementationDecl *D, AnalysisManager& Mgr,
119 AnalysisManager& Mgr, in checkASTDecl() argument
130 Mgr.getASTContext()); in checkASTDecl()
143 AnalysisDeclContext *DCtx = Mgr.getAnalysisDeclContext(M); in checkASTDecl()
DCheckerDocumentation.cpp180 AnalysisManager &Mgr, in checkEndOfTranslationUnit() argument
301 AnalysisManager &Mgr, in checkASTDecl() argument
DExprInspectionChecker.cpp140 void ento::registerExprInspectionChecker(CheckerManager &Mgr) { in registerExprInspectionChecker() argument
141 Mgr.registerChecker<ExprInspectionChecker>(); in registerExprInspectionChecker()
DInterCheckerAPI.h19 void registerCStringCheckerBasic(CheckerManager &Mgr);
DObjCContainersASTChecker.cpp165 void checkASTCodeBody(const Decl *D, AnalysisManager& Mgr, in checkASTCodeBody() argument
167 WalkAST walker(BR, this, Mgr.getAnalysisDeclContext(D)); in checkASTCodeBody()
DCStringSyntaxChecker.cpp181 void checkASTCodeBody(const Decl *D, AnalysisManager& Mgr, in checkASTCodeBody() argument
183 WalkAST walker(this, BR, Mgr.getAnalysisDeclContext(D)); in checkASTCodeBody()
DIdenticalExprChecker.cpp480 void checkASTCodeBody(const Decl *D, AnalysisManager &Mgr, in checkASTCodeBody() argument
482 FindIdenticalExprVisitor Visitor(BR, this, Mgr.getAnalysisDeclContext(D)); in checkASTCodeBody()
488 void ento::registerIdenticalExprChecker(CheckerManager &Mgr) { in registerIdenticalExprChecker() argument
489 Mgr.registerChecker<FindIdenticalExprChecker>(); in registerIdenticalExprChecker()
DIvarInvalidationChecker.cpp215 AnalysisManager& Mgr; member in __anon5646a85d0111::IvarInvalidationCheckerImpl
224 Mgr (InMgr), BR(InBR), Filter(InFilter) {} in IvarInvalidationCheckerImpl()
566 Mgr.getAnalysisDeclContext(MethodD)); in reportIvarNeedsInvalidation()
735 void checkASTDecl(const ObjCImplementationDecl *D, AnalysisManager& Mgr, in checkASTDecl() argument
737 IvarInvalidationCheckerImpl Walker(Mgr, BR, Filter); in checkASTDecl()
DRetainCountChecker.cpp1896 CallEventManager &Mgr = CurrSt->getStateManager().getCallEventManager(); in VisitNode() local
1898 = Mgr.getObjCMethodCall(cast<ObjCMessageExpr>(S), CurrSt, LCtx); in VisitNode()
3806 void ento::registerRetainCountChecker(CheckerManager &Mgr) { in registerRetainCountChecker() argument
3807 Mgr.registerChecker<RetainCountChecker>(Mgr.getAnalyzerOptions()); in registerRetainCountChecker()
DCStringChecker.cpp2083 void ento::registerCStringCheckerBasic(CheckerManager &Mgr) { in REGISTER_CHECKER()
2084 registerCStringNullArg(Mgr); in REGISTER_CHECKER()
/external/clang/lib/Analysis/
DAnalysisDeclContext.cpp38 AnalysisDeclContext::AnalysisDeclContext(AnalysisDeclContextManager *Mgr, in AnalysisDeclContext() argument
41 : Manager(Mgr), in AnalysisDeclContext()
53 AnalysisDeclContext::AnalysisDeclContext(AnalysisDeclContextManager *Mgr, in AnalysisDeclContext() argument
55 : Manager(Mgr), in AnalysisDeclContext()
/external/clang/include/clang/StaticAnalyzer/Core/
DChecker.h527 CheckerManager *Mgr; variable
529 EventDispatcher() : Mgr(nullptr) { } in EventDispatcher()
534 static_cast<EventDispatcher<EVENT> *>(checker)->Mgr = &mgr; in _register()
538 Mgr->_dispatchEvent(event); in dispatchEvent()
/external/clang/include/clang/Analysis/
DAnalysisContext.h90 AnalysisDeclContext(AnalysisDeclContextManager *Mgr,
93 AnalysisDeclContext(AnalysisDeclContextManager *Mgr,
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DCallEvent.h995 CallEventManager &Mgr = State->getStateManager().getCallEventManager(); in cloneWithState() local
996 T *Copy = static_cast<T *>(Mgr.allocate()); in cloneWithState()
1011 CallEventManager &Mgr = State->getStateManager().getCallEventManager(); in Release() local
1012 Mgr.reclaim(this); in Release()
DMemRegion.h197 MemRegionManager *Mgr; variable
200 : MemRegion(k), Mgr(mgr) { in MemRegion()
204 MemRegionManager* getMemRegionManager() const override { return Mgr; } in getMemRegionManager()
/external/llvm/include/llvm/MC/
DMCContext.h181 const SourceMgr *Mgr = nullptr, bool DoAutoReset = true);
/external/clang/lib/Serialization/
DASTWriter.cpp1086 serialization::ModuleManager &Mgr = Chain->getModuleManager(); in WriteControlBlock() local
1089 for (ModuleManager::ModuleIterator M = Mgr.begin(), MEnd = Mgr.end(); in WriteControlBlock()