Home
last modified time | relevance | path

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

/external/clang/lib/StaticAnalyzer/Core/
DHTMLDiagnostics.cpp126 const SourceManager &SMgr = path.front()->getLocation().getManager(); in ReportDiag() local
133 Rewriter R(const_cast<SourceManager&>(SMgr), PP.getLangOpts()); in ReportDiag()
147 SMgr.getExpansionLoc(path.back()->getLocation().asLocation()), in ReportDiag()
148 SMgr); in ReportDiag()
149 FullSourceLoc FunL(SMgr.getExpansionLoc(Body->getLocStart()), SMgr); in ReportDiag()
178 const FileEntry* Entry = SMgr.getFileEntryForID(FID); in ReportDiag()
224 R.InsertTextBefore(SMgr.getLocForStartOfFile(FID), os.str()); in ReportDiag()
241 FullSourceLoc L(SMgr.getExpansionLoc(UPDLoc.isValid() in ReportDiag()
244 SMgr); in ReportDiag()
258 << GetIssueHash(SMgr, L, D.getCheckName(), D.getBugType(), DeclWithIssue, in ReportDiag()
[all …]
DPathDiagnostic.cpp123 const SourceManager &SMgr) { in getFirstStackedCallToHeaderFile() argument
130 assert(SMgr.isInMainFile(CallLoc) && in getFirstStackedCallToHeaderFile()
134 if (!SMgr.isInMainFile(CP->callEnterWithin.asLocation())) in getFirstStackedCallToHeaderFile()
145 return getFirstStackedCallToHeaderFile(CPInner, SMgr); in getFirstStackedCallToHeaderFile()
158 const SourceManager &SMgr = LastP->getLocation().getManager(); in resetDiagnosticLocationToMainFile() local
163 CP = getFirstStackedCallToHeaderFile(CP, SMgr); in resetDiagnosticLocationToMainFile()
211 const SourceManager &SMgr = D->path.front()->getLocation().getManager(); in HandlePathDiagnostic() local
224 FID = SMgr.getFileID(L); in HandlePathDiagnostic()
225 } else if (SMgr.getFileID(L) != FID) in HandlePathDiagnostic()
232 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.cpp494 bool StoreManager::FindUniqueBinding::HandleBinding(StoreManager& SMgr, in HandleBinding() argument
DBugReporterVisitors.cpp873 const SourceManager &SMgr = BRC.getSourceManager(); in VisitNode() local
874 std::pair<FileID, unsigned> TLInfo = SMgr.getDecomposedLoc(TerminatorLoc); in VisitNode()
875 SrcMgr::SLocEntry SE = SMgr.getSLocEntry(TLInfo.first); in VisitNode()
/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.cpp188 bool HandleBinding(StoreManager &SMgr, Store store, in checkEndFunction() argument
DRetainCountChecker.cpp2407 const SourceManager& SMgr = Ctx.getSourceManager(); in CFRefLeakReport() local
2429 PathDiagnosticLocation::createBegin(AllocStmt, SMgr, in CFRefLeakReport()