Home
last modified time | relevance | path

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

/external/clang/lib/StaticAnalyzer/Core/
DHTMLDiagnostics.cpp124 const SourceManager &SMgr = (*path.begin())->getLocation().getManager(); in ReportDiag() local
131 Rewriter R(const_cast<SourceManager&>(SMgr), PP.getLangOpts()); in ReportDiag()
145 SMgr.getExpansionLoc((*path.rbegin())->getLocation().asLocation()), in ReportDiag()
146 SMgr); in ReportDiag()
147 FullSourceLoc FunL(SMgr.getExpansionLoc(Body->getLocStart()), SMgr); in ReportDiag()
176 const FileEntry* Entry = SMgr.getFileEntryForID(FID); in ReportDiag()
222 R.InsertTextBefore(SMgr.getLocForStartOfFile(FID), os.str()); in ReportDiag()
262 R.InsertTextBefore(SMgr.getLocForStartOfFile(FID), os.str()); in ReportDiag()
DPathDiagnostic.cpp127 const SourceManager &SMgr) { in getFirstStackedCallToHeaderFile() argument
134 assert(SMgr.isInMainFile(CallLoc) && in getFirstStackedCallToHeaderFile()
138 if (!SMgr.isInMainFile(CP->callEnterWithin.asLocation())) in getFirstStackedCallToHeaderFile()
149 return getFirstStackedCallToHeaderFile(CPInner, SMgr); in getFirstStackedCallToHeaderFile()
162 const SourceManager &SMgr = LastP->getLocation().getManager(); in resetDiagnosticLocationToMainFile() local
167 CP = getFirstStackedCallToHeaderFile(CP, SMgr); in resetDiagnosticLocationToMainFile()
216 const SourceManager &SMgr = (*D->path.begin())->getLocation().getManager(); in HandlePathDiagnostic() local
229 FID = SMgr.getFileID(L); in HandlePathDiagnostic()
230 } else if (SMgr.getFileID(L) != FID) in HandlePathDiagnostic()
237 SourceLocation L = SMgr.getExpansionLoc(I->getBegin()); in HandlePathDiagnostic()
[all …]
DBugReporter.cpp426 getEnclosingStmtLocation(const Stmt *S, SourceManager &SMgr, const ParentMap &P, in getEnclosingStmtLocation() argument
436 return PathDiagnosticLocation(allowNestedContexts ? B : S, SMgr, LC); in getEnclosingStmtLocation()
441 return PathDiagnosticLocation(S, SMgr, LC); in getEnclosingStmtLocation()
446 return PathDiagnosticLocation(Parent, SMgr, LC); in getEnclosingStmtLocation()
448 return PathDiagnosticLocation(S, SMgr, LC); in getEnclosingStmtLocation()
455 return PathDiagnosticLocation(Parent, SMgr, LC); in getEnclosingStmtLocation()
457 return PathDiagnosticLocation(S, SMgr, LC); in getEnclosingStmtLocation()
460 return PathDiagnosticLocation(S, SMgr, LC); in getEnclosingStmtLocation()
463 return PathDiagnosticLocation(S, SMgr, LC); in getEnclosingStmtLocation()
466 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.h212 virtual bool HandleBinding(StoreManager& SMgr, Store store,
226 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.cpp2332 const SourceManager& SMgr = Ctx.getSourceManager(); in CFRefLeakReport() local
2366 PathDiagnosticLocation::createBegin(AllocStmt, SMgr, in CFRefLeakReport()