Home
last modified time | relevance | path

Searched refs:SMgr (Results 1 – 7 of 7) sorted by relevance

/external/clang/lib/StaticAnalyzer/Core/
DPathDiagnostic.cpp125 const SourceManager &SMgr) { in getFirstStackedCallToHeaderFile() argument
132 assert(SMgr.isFromMainFile(CallLoc) && in getFirstStackedCallToHeaderFile()
136 if (!SMgr.isFromMainFile(CP->callEnterWithin.asLocation())) in getFirstStackedCallToHeaderFile()
147 return getFirstStackedCallToHeaderFile(CPInner, SMgr); in getFirstStackedCallToHeaderFile()
160 const SourceManager &SMgr = LastP->getLocation().getManager(); in resetDiagnosticLocationToMainFile() local
165 CP = getFirstStackedCallToHeaderFile(CP, SMgr); in resetDiagnosticLocationToMainFile()
214 const SourceManager &SMgr = (*D->path.begin())->getLocation().getManager(); in HandlePathDiagnostic() local
228 FID = SMgr.getFileID(L); in HandlePathDiagnostic()
229 } else if (SMgr.getFileID(L) != FID) in HandlePathDiagnostic()
236 SourceLocation L = SMgr.getExpansionLoc(I->getBegin()); in HandlePathDiagnostic()
[all …]
DHTMLDiagnostics.cpp122 const SourceManager &SMgr = (*path.begin())->getLocation().getManager(); in ReportDiag() local
129 Rewriter R(const_cast<SourceManager&>(SMgr), PP.getLangOpts()); in ReportDiag()
155 const FileEntry* Entry = SMgr.getFileEntryForID(FID); in ReportDiag()
198 R.InsertTextBefore(SMgr.getLocForStartOfFile(FID), os.str()); in ReportDiag()
230 R.InsertTextBefore(SMgr.getLocForStartOfFile(FID), os.str()); in ReportDiag()
DBugReporter.cpp390 getEnclosingStmtLocation(const Stmt *S, SourceManager &SMgr, const ParentMap &P, in getEnclosingStmtLocation() argument
400 return PathDiagnosticLocation(allowNestedContexts ? B : S, SMgr, LC); in getEnclosingStmtLocation()
405 return PathDiagnosticLocation(S, SMgr, LC); in getEnclosingStmtLocation()
410 return PathDiagnosticLocation(Parent, SMgr, LC); in getEnclosingStmtLocation()
412 return PathDiagnosticLocation(S, SMgr, LC); in getEnclosingStmtLocation()
419 return PathDiagnosticLocation(Parent, SMgr, LC); in getEnclosingStmtLocation()
421 return PathDiagnosticLocation(S, SMgr, LC); in getEnclosingStmtLocation()
424 return PathDiagnosticLocation(S, SMgr, LC); in getEnclosingStmtLocation()
427 return PathDiagnosticLocation(S, SMgr, LC); in getEnclosingStmtLocation()
430 return PathDiagnosticLocation(S, SMgr, LC); in getEnclosingStmtLocation()
[all …]
DStore.cpp505 bool StoreManager::FindUniqueBinding::HandleBinding(StoreManager& SMgr, in HandleBinding() argument
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DStore.h219 virtual bool HandleBinding(StoreManager& SMgr, Store store,
232 bool HandleBinding(StoreManager& SMgr, Store store, const MemRegion* R,
/external/clang/lib/StaticAnalyzer/Checkers/
DStackAddrEscapeChecker.cpp179 bool HandleBinding(StoreManager &SMgr, Store store, in checkEndFunction() argument
DRetainCountChecker.cpp2344 const SourceManager& SMgr = Ctx.getSourceManager(); in CFRefLeakReport() local
2365 PathDiagnosticLocation::createBegin(AllocStmt, SMgr, in CFRefLeakReport()