Searched refs:asLocation (Results 1 – 9 of 9) sorted by relevance
/external/clang/lib/StaticAnalyzer/Core/ |
D | PathDiagnostic.cpp | 128 SourceLocation CallLoc = CP->callEnter.asLocation(); in getFirstStackedCallToHeaderFile() 138 if (!SMgr.isInMainFile(CP->callEnterWithin.asLocation())) in getFirstStackedCallToHeaderFile() 226 FullSourceLoc L = piece->getLocation().asLocation().getExpansionLoc(); in HandlePathDiagnostic() 287 FullSourceLoc XSL = X.getStartLocation().asLocation(); in compareControlFlow() 288 FullSourceLoc YSL = Y.getStartLocation().asLocation(); in compareControlFlow() 291 FullSourceLoc XEL = X.getEndLocation().asLocation(); in compareControlFlow() 292 FullSourceLoc YEL = Y.getEndLocation().asLocation(); in compareControlFlow() 305 FullSourceLoc X_CEL = X.callEnter.asLocation(); in compareCall() 306 FullSourceLoc Y_CEL = Y.callEnter.asLocation(); in compareCall() 309 FullSourceLoc X_CEWL = X.callEnterWithin.asLocation(); in compareCall() [all …]
|
D | PlistDiagnostics.cpp | 154 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() 432 FullSourceLoc UL(SM->getExpansionLoc(UPDLoc.asLocation()), in FlushDiagnosticsImpl() 442 FullSourceLoc L(SM->getExpansionLoc(D->getLocation().asLocation()), in FlushDiagnosticsImpl() 456 EmitLocation(o, *SM, LangOpts, D->getLocation().asLocation(), FM, 2); in FlushDiagnosticsImpl()
|
D | HTMLDiagnostics.cpp | 127 (*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()
|
D | BugReporter.cpp | 224 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() 647 << End.asLocation().getExpansionLineNumber(); in GenerateMinimalPathDiagnostic() 665 << End.asLocation().getExpansionLineNumber(); in GenerateMinimalPathDiagnostic() 669 << End.asLocation().getExpansionLineNumber(); in GenerateMinimalPathDiagnostic() 696 << End.asLocation().getExpansionLineNumber(); in GenerateMinimalPathDiagnostic() [all …]
|
D | BugReporterVisitors.cpp | 702 if (!L.isValid() || !L.asLocation().isValid()) in VisitNode() 705 if (!L.isValid() || !L.asLocation().isValid()) in VisitNode() 1579 FullSourceLoc Loc = BR.getLocation(SM).asLocation(); in getEndPath()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | UnreachableCodeChecker.cpp | 156 SL = DL.asLocation(); in checkEndAnalysis()
|
D | TestAfterDivZeroChecker.cpp | 128 if (!L.isValid() || !L.asLocation().isValid()) in REGISTER_SET_WITH_PROGRAMSTATE()
|
/external/clang/lib/StaticAnalyzer/Frontend/ |
D | AnalysisConsumer.cpp | 114 SourceLocation WarnLoc = PD->getLocation().asLocation(); in FlushDiagnosticsImpl() 125 SourceLocation NoteLoc = (*PI)->getLocation().asLocation(); in FlushDiagnosticsImpl()
|
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
D | PathDiagnostic.h | 271 FullSourceLoc asLocation() const { in asLocation() function 441 assert(Pos.isValid() && Pos.asLocation().isValid() && in PathDiagnosticPiece()
|