Home
last modified time | relevance | path

Searched refs:asLocation (Results 1 – 9 of 9) sorted by relevance

/external/clang/lib/StaticAnalyzer/Core/
DPathDiagnostic.cpp128 SourceLocation CallLoc = CP->callEnter.asLocation(); in getFirstStackedCallToHeaderFile()
138 if (!SMgr.isInMainFile(CP->callEnterWithin.asLocation())) in getFirstStackedCallToHeaderFile()
225 FullSourceLoc L = piece->getLocation().asLocation().getExpansionLoc(); in HandlePathDiagnostic()
286 FullSourceLoc XSL = X.getStartLocation().asLocation(); in compareControlFlow()
287 FullSourceLoc YSL = Y.getStartLocation().asLocation(); in compareControlFlow()
290 FullSourceLoc XEL = X.getEndLocation().asLocation(); in compareControlFlow()
291 FullSourceLoc YEL = Y.getEndLocation().asLocation(); in compareControlFlow()
304 FullSourceLoc X_CEL = X.callEnter.asLocation(); in compareCall()
305 FullSourceLoc Y_CEL = Y.callEnter.asLocation(); in compareCall()
308 FullSourceLoc X_CEWL = X.callEnterWithin.asLocation(); in compareCall()
[all …]
DPlistDiagnostics.cpp155 FullSourceLoc L = P.getLocation().asLocation(); in ReportEvent()
315 AddFID(FM, Fids, *SM, piece->getLocation().asLocation()); in FlushDiagnosticsImpl()
328 AddFID(FM, Fids, *SM, callEnterWithin->getLocation().asLocation()); in FlushDiagnosticsImpl()
434 FullSourceLoc UL(SM->getExpansionLoc(UPDLoc.asLocation()), in FlushDiagnosticsImpl()
444 FullSourceLoc L(SM->getExpansionLoc(D->getLocation().asLocation()), in FlushDiagnosticsImpl()
458 EmitLocation(o, *SM, D->getLocation().asLocation(), FM, 2); in FlushDiagnosticsImpl()
DHTMLDiagnostics.cpp127 (*path.begin())->getLocation().asLocation().getExpansionLoc().getFileID(); in ReportDiag()
145 SMgr.getExpansionLoc((*path.rbegin())->getLocation().asLocation()), in ReportDiag()
189 int LineNumber = (*path.rbegin())->getLocation().asLocation().getExpansionLineNumber(); in ReportDiag()
190 int ColumnNumber = (*path.rbegin())->getLocation().asLocation().getExpansionColumnNumber(); in ReportDiag()
335 FullSourceLoc Pos = P.getLocation().asLocation(); in HandlePiece()
470 FullSourceLoc L = MP->getLocation().asLocation().getExpansionLoc(); in HandlePiece()
DBugReporter.cpp224 assert((*I)->getLocation().asLocation().isValid()); in adjustCallLocations()
230 if (CallerIsImplicit || !Call->callEnter.asLocation().isValid()) in adjustCallLocations()
232 if (CallerIsImplicit || !Call->callReturn.asLocation().isValid()) in adjustCallLocations()
239 if (Call->callEnterWithin.asLocation().isValid() && in adjustCallLocations()
297 !(*I)->getLocation().asLocation().isValid()) { in removePiecesWithInvalidLocations()
384 << getSourceManager().getExpansionLineNumber(Loc.asLocation()) in ExecutionContinues()
643 << End.asLocation().getExpansionLineNumber(); in GenerateMinimalPathDiagnostic()
661 << End.asLocation().getExpansionLineNumber(); in GenerateMinimalPathDiagnostic()
665 << End.asLocation().getExpansionLineNumber(); in GenerateMinimalPathDiagnostic()
692 << End.asLocation().getExpansionLineNumber(); in GenerateMinimalPathDiagnostic()
[all …]
DBugReporterVisitors.cpp698 if (!L.isValid() || !L.asLocation().isValid()) in VisitNode()
701 if (!L.isValid() || !L.asLocation().isValid()) in VisitNode()
1570 FullSourceLoc Loc = BR.getLocation(SM).asLocation(); in getEndPath()
/external/clang/lib/StaticAnalyzer/Checkers/
DUnreachableCodeChecker.cpp156 SL = DL.asLocation(); in checkEndAnalysis()
DTestAfterDivZeroChecker.cpp128 if (!L.isValid() || !L.asLocation().isValid()) in REGISTER_SET_WITH_PROGRAMSTATE()
/external/clang/lib/StaticAnalyzer/Frontend/
DAnalysisConsumer.cpp117 SourceLocation WarnLoc = PD->getLocation().asLocation(); in FlushDiagnosticsImpl()
128 SourceLocation NoteLoc = (*PI)->getLocation().asLocation(); in FlushDiagnosticsImpl()
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
DPathDiagnostic.h275 FullSourceLoc asLocation() const { in asLocation() function
445 assert(Pos.isValid() && Pos.asLocation().isValid() && in PathDiagnosticPiece()