/external/llvm-project/clang/lib/Analysis/ |
D | PathDiagnostic.cpp | 171 FullSourceLoc L = piece->getLocation().asLocation().getExpansionLoc(); in HandlePathDiagnostic() 234 FullSourceLoc XSL = X.getStartLocation().asLocation(); in compareControlFlow() 235 FullSourceLoc YSL = Y.getStartLocation().asLocation(); in compareControlFlow() 238 FullSourceLoc XEL = X.getEndLocation().asLocation(); in compareControlFlow() 239 FullSourceLoc YEL = Y.getEndLocation().asLocation(); in compareControlFlow() 252 FullSourceLoc X_CEL = X.callEnter.asLocation(); in compareCall() 253 FullSourceLoc Y_CEL = Y.callEnter.asLocation(); in compareCall() 256 FullSourceLoc X_CEWL = X.callEnterWithin.asLocation(); in compareCall() 257 FullSourceLoc Y_CEWL = Y.callEnterWithin.asLocation(); in compareCall() 260 FullSourceLoc X_CRL = X.callReturn.asLocation(); in compareCall() [all …]
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | PathDiagnostic.cpp | 124 SourceLocation CallLoc = CP->callEnter.asLocation(); in getFirstStackedCallToHeaderFile() 134 if (!SMgr.isInMainFile(CP->callEnterWithin.asLocation())) in getFirstStackedCallToHeaderFile() 221 FullSourceLoc L = piece->getLocation().asLocation().getExpansionLoc(); in HandlePathDiagnostic() 283 FullSourceLoc XSL = X.getStartLocation().asLocation(); in compareControlFlow() 284 FullSourceLoc YSL = Y.getStartLocation().asLocation(); in compareControlFlow() 287 FullSourceLoc XEL = X.getEndLocation().asLocation(); in compareControlFlow() 288 FullSourceLoc YEL = Y.getEndLocation().asLocation(); in compareControlFlow() 301 FullSourceLoc X_CEL = X.callEnter.asLocation(); in compareCall() 302 FullSourceLoc Y_CEL = Y.callEnter.asLocation(); in compareCall() 305 FullSourceLoc X_CEWL = X.callEnterWithin.asLocation(); in compareCall() [all …]
|
D | HTMLDiagnostics.cpp | 129 path.front()->getLocation().asLocation().getExpansionLoc().getFileID(); in ReportDiag() 147 SMgr.getExpansionLoc(path.back()->getLocation().asLocation()), in ReportDiag() 191 int LineNumber = path.back()->getLocation().asLocation().getExpansionLineNumber(); in ReportDiag() 192 int ColumnNumber = path.back()->getLocation().asLocation().getExpansionColumnNumber(); in ReportDiag() 242 ? UPDLoc.asLocation() in ReportDiag() 243 : D.getLocation().asLocation()), in ReportDiag() 353 FullSourceLoc Pos = P.getLocation().asLocation(); in HandlePiece() 488 FullSourceLoc L = MP->getLocation().asLocation().getExpansionLoc(); in HandlePiece()
|
D | PlistDiagnostics.cpp | 155 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() 397 ? UPDLoc.asLocation() in FlushDiagnosticsImpl() 398 : D->getLocation().asLocation()), in FlushDiagnosticsImpl() 465 EmitLocation(o, *SM, D->getLocation().asLocation(), FM, 2); in FlushDiagnosticsImpl()
|
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() 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 …]
|
D | BugReporterVisitors.cpp | 327 if (!L.isValid() || !L.asLocation().isValid()) in visitNodeInitial() 702 if (!L.isValid() || !L.asLocation().isValid()) in VisitNode() 705 if (!L.isValid() || !L.asLocation().isValid()) in VisitNode() 1631 FullSourceLoc Loc = BR.getLocation(SM).asLocation(); in getEndPath()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Core/ |
D | HTMLDiagnostics.cpp | 219 FileID ReportFile = path.front()->getLocation().asLocation().getExpansionLoc().getFileID(); in ReportDiag() 232 SMgr.getExpansionLoc(path.back()->getLocation().asLocation()), in ReportDiag() 304 FileID FID = I->getLocation().asLocation().getExpansionLoc().getFileID(); in GenerateHTML() 360 path.back()->getLocation().asLocation().getExpansionLoc().getFileID(); in GenerateHTML() 477 int LineNumber = path.back()->getLocation().asLocation().getExpansionLineNumber(); in FinalizeHTML() 478 int ColumnNumber = path.back()->getLocation().asLocation().getExpansionColumnNumber(); in FinalizeHTML() 512 P->getLocation().asLocation().getExpansionLineNumber(); in FinalizeHTML() 514 P->getLocation().asLocation().getExpansionColumnNumber(); in FinalizeHTML() 570 ? UPDLoc.asLocation() in FinalizeHTML() 571 : D.getLocation().asLocation()), in FinalizeHTML() [all …]
|
D | TextDiagnostics.cpp | 97 reportPiece(WarnID, PD->getLocation().asLocation(), in FlushDiagnosticsImpl() 106 reportPiece(NoteID, Piece->getLocation().asLocation(), in FlushDiagnosticsImpl() 120 reportPiece(NoteID, Piece->getLocation().asLocation(), in FlushDiagnosticsImpl()
|
D | PlistDiagnostics.cpp | 321 FullSourceLoc L = P.getLocation().asLocation(); in ReportEvent() 391 ExpansionInfo EI = getExpandedMacro(P->getLocation().asLocation(), PP, CTU); in ReportMacroExpansions() 397 FullSourceLoc L = P->getLocation().asLocation(); in ReportMacroExpansions() 430 FullSourceLoc L = P.getLocation().asLocation(); in ReportNote() 461 FullSourceLoc L = P.getLocation().asLocation(); in ReportPopUp() 617 AddFID(FM, Fids, SM, Piece.getLocation().asLocation()); in FlushDiagnosticsImpl() 696 ? UPDLoc.asLocation() in FlushDiagnosticsImpl() 697 : D->getLocation().asLocation()), in FlushDiagnosticsImpl() 766 EmitLocation(o, SM, D->getLocation().asLocation(), FM, 2); in FlushDiagnosticsImpl()
|
D | BugReporter.cpp | 503 if (CallerIsImplicit || !Call->callEnter.asLocation().isValid()) in adjustCallLocations() 505 if (CallerIsImplicit || !Call->callReturn.asLocation().isValid()) in adjustCallLocations() 512 if (Call->callEnterWithin.asLocation().isValid() && in adjustCallLocations() 569 !(*I)->getLocation().asLocation().isValid()) { in removePiecesWithInvalidLocations() 597 << getSourceManager().getExpansionLineNumber(Loc.asLocation()) in ExecutionContinues() 757 << End.asLocation().getExpansionLineNumber(); in generateDiagForSwitchOP() 761 << End.asLocation().getExpansionLineNumber(); in generateDiagForSwitchOP() 786 os << ":' at line " << End.asLocation().getExpansionLineNumber(); in generateDiagForSwitchOP() 805 os << "Control jumps to line " << End.asLocation().getExpansionLineNumber(); in generateDiagForGotoOP() 1084 SourceLocation NewLocL = NewLoc.asLocation(); in addEdgeToPath() [all …]
|
D | SarifDiagnostics.cpp | 264 *P.asLocation().getExpansionLoc().getFileEntry(), in createThreadFlow() 295 *Diag.getLocation().asLocation().getExpansionLoc().getFileEntry(), in createResult()
|
D | BugReporterVisitors.cpp | 1111 if (!L.isValid() || !L.asLocation().isValid()) in visitNodeInitial() 1513 if (!L.isValid() || !L.asLocation().isValid()) in VisitNode() 1516 if (!L.isValid() || !L.asLocation().isValid()) in VisitNode() 2309 if (!Loc.isValid() || !Loc.asLocation().isValid()) in VisitTrueTest() 2608 if (!Loc.isValid() || !Loc.asLocation().isValid()) in VisitTrueTest() 2747 FullSourceLoc Loc = BR.getLocation().asLocation(); in finalizeVisitor()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | UnreachableCodeChecker.cpp | 152 SL = DL.asLocation(); in checkEndAnalysis()
|
D | ObjCSuperDeallocChecker.cpp | 275 if (!L.isValid() || !L.asLocation().isValid()) in VisitNode()
|
D | TestAfterDivZeroChecker.cpp | 128 if (!L.isValid() || !L.asLocation().isValid()) in REGISTER_SET_WITH_PROGRAMSTATE()
|
D | LocalizationChecker.cpp | 923 if (!L.isValid() || !L.asLocation().isValid()) in VisitNode()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | UnreachableCodeChecker.cpp | 160 SL = DL.asLocation(); in checkEndAnalysis()
|
D | ObjCSuperDeallocChecker.cpp | 270 if (!L.isValid() || !L.asLocation().isValid()) in VisitNode()
|
D | Taint.cpp | 248 if (!L.isValid() || !L.asLocation().isValid()) in VisitNode()
|
D | TestAfterDivZeroChecker.cpp | 124 if (!L.isValid() || !L.asLocation().isValid()) in REGISTER_SET_WITH_PROGRAMSTATE()
|
D | LocalizationChecker.cpp | 1024 if (!L.isValid() || !L.asLocation().isValid()) in VisitNode()
|
/external/clang/lib/StaticAnalyzer/Frontend/ |
D | AnalysisConsumer.cpp | 117 SourceLocation WarnLoc = PD->getLocation().asLocation(); in FlushDiagnosticsImpl() 128 SourceLocation NoteLoc = (*PI)->getLocation().asLocation(); in FlushDiagnosticsImpl()
|
/external/llvm-project/clang-tools-extra/clang-tidy/ |
D | ClangTidy.cpp | 78 Context.diag(CheckName, PD->getLocation().asLocation(), in FlushDiagnosticsImpl() 84 Context.diag(CheckName, DiagPiece->getLocation().asLocation(), in FlushDiagnosticsImpl()
|
/external/llvm-project/clang/include/clang/Analysis/ |
D | PathDiagnostic.h | 342 FullSourceLoc asLocation() const { in asLocation() function 361 bool hasValidLocation() const { return asLocation().isValid(); } in hasValidLocation()
|
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
D | PathDiagnostic.h | 275 FullSourceLoc asLocation() const { in asLocation() function 444 assert(Pos.isValid() && Pos.asLocation().isValid() && in PathDiagnosticPiece()
|