Searched refs:SMgr (Results 1 – 7 of 7) sorted by relevance
/external/clang/lib/StaticAnalyzer/Core/ |
D | HTMLDiagnostics.cpp | 124 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()
|
D | PathDiagnostic.cpp | 127 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 …]
|
D | BugReporter.cpp | 426 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 …]
|
D | Store.cpp | 505 bool StoreManager::FindUniqueBinding::HandleBinding(StoreManager& SMgr, in HandleBinding() argument
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | Store.h | 212 virtual bool HandleBinding(StoreManager& SMgr, Store store, 226 bool HandleBinding(StoreManager& SMgr, Store store, const MemRegion* R,
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | StackAddrEscapeChecker.cpp | 179 bool HandleBinding(StoreManager &SMgr, Store store, in checkEndFunction() argument
|
D | RetainCountChecker.cpp | 2332 const SourceManager& SMgr = Ctx.getSourceManager(); in CFRefLeakReport() local 2366 PathDiagnosticLocation::createBegin(AllocStmt, SMgr, in CFRefLeakReport()
|