|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
tools/clang/include/clang/Analysis/PathDiagnostic.h 320 bool hasValidLocation() const { return asLocation().isValid(); }
tools/clang/lib/Analysis/PathDiagnostic.cpp 170 FullSourceLoc L = piece->getLocation().asLocation().getExpansionLoc();
233 FullSourceLoc XSL = X.getStartLocation().asLocation();
234 FullSourceLoc YSL = Y.getStartLocation().asLocation();
237 FullSourceLoc XEL = X.getEndLocation().asLocation();
238 FullSourceLoc YEL = Y.getEndLocation().asLocation();
251 FullSourceLoc X_CEL = X.callEnter.asLocation();
252 FullSourceLoc Y_CEL = Y.callEnter.asLocation();
255 FullSourceLoc X_CEWL = X.callEnterWithin.asLocation();
256 FullSourceLoc Y_CEWL = Y.callEnterWithin.asLocation();
259 FullSourceLoc X_CRL = X.callReturn.asLocation();
260 FullSourceLoc Y_CRL = Y.callReturn.asLocation();
271 FullSourceLoc XL = X.getLocation().asLocation();
272 FullSourceLoc YL = Y.getLocation().asLocation();
347 FullSourceLoc XL = X.getLocation().asLocation();
348 FullSourceLoc YL = Y.getLocation().asLocation();
722 FullSourceLoc L = PDL.asLocation();
1000 assert(callEnter.asLocation().isValid());
1006 if (!callEnterWithin.asLocation().isValid())
1045 assert(callReturn.asLocation().isValid());
1198 asLocation().dump();
tools/clang/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp 1024 if (!L.isValid() || !L.asLocation().isValid())
tools/clang/lib/StaticAnalyzer/Checkers/ObjCSuperDeallocChecker.cpp 269 if (!L.isValid() || !L.asLocation().isValid())
tools/clang/lib/StaticAnalyzer/Checkers/Taint.cpp 223 if (!L.isValid() || !L.asLocation().isValid())
tools/clang/lib/StaticAnalyzer/Checkers/TestAfterDivZeroChecker.cpp 124 if (!L.isValid() || !L.asLocation().isValid())
tools/clang/lib/StaticAnalyzer/Checkers/UnreachableCodeChecker.cpp 160 SL = DL.asLocation();
tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp 500 if (CallerIsImplicit || !Call->callEnter.asLocation().isValid())
502 if (CallerIsImplicit || !Call->callReturn.asLocation().isValid())
509 if (Call->callEnterWithin.asLocation().isValid() &&
566 !(*I)->getLocation().asLocation().isValid()) {
594 << getSourceManager().getExpansionLineNumber(Loc.asLocation())
754 << End.asLocation().getExpansionLineNumber();
758 << End.asLocation().getExpansionLineNumber();
783 os << ":' at line " << End.asLocation().getExpansionLineNumber();
802 os << "Control jumps to line " << End.asLocation().getExpansionLineNumber();
1081 SourceLocation NewLocL = NewLoc.asLocation();
1085 if (!PrevLoc.isValid() || !PrevLoc.asLocation().isValid()) {
1874 SourceRange EdgeRange(PieceI->getEndLocation().asLocation(),
1875 PieceI->getStartLocation().asLocation());
1958 FullSourceLoc Loc = P->getLocation().asLocation().getExpansionLoc();
2619 const FullSourceLoc Loc = piece->getLocation().asLocation();
3132 SourceLocation CallLoc = CP->callEnter.asLocation();
3142 if (!AnalysisManager::isInCodeFile(CP->callEnterWithin.asLocation(), SMgr))
tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp 1112 if (!L.isValid() || !L.asLocation().isValid())
1514 if (!L.isValid() || !L.asLocation().isValid())
1517 if (!L.isValid() || !L.asLocation().isValid())
2310 if (!Loc.isValid() || !Loc.asLocation().isValid())
2609 if (!Loc.isValid() || !Loc.asLocation().isValid())
2748 FullSourceLoc Loc = BR.getLocation().asLocation();
tools/clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp 191 FileID ReportFile = path.front()->getLocation().asLocation().getExpansionLoc().getFileID();
204 SMgr.getExpansionLoc(path.back()->getLocation().asLocation()),
276 FileID FID = I->getLocation().asLocation().getExpansionLoc().getFileID();
332 path.back()->getLocation().asLocation().getExpansionLoc().getFileID();
449 int LineNumber = path.back()->getLocation().asLocation().getExpansionLineNumber();
450 int ColumnNumber = path.back()->getLocation().asLocation().getExpansionColumnNumber();
484 P->getLocation().asLocation().getExpansionLineNumber();
486 P->getLocation().asLocation().getExpansionColumnNumber();
542 ? UPDLoc.asLocation()
543 : D.getLocation().asLocation()),
741 FullSourceLoc Pos = P.getLocation().asLocation();
884 FullSourceLoc L = MP->getLocation().asLocation().getExpansionLoc();
tools/clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp 326 FullSourceLoc L = P.getLocation().asLocation();
396 ExpansionInfo EI = getExpandedMacro(P->getLocation().asLocation(), PP, CTU);
402 FullSourceLoc L = P->getLocation().asLocation();
435 FullSourceLoc L = P.getLocation().asLocation();
466 FullSourceLoc L = P.getLocation().asLocation();
609 AddFID(FM, Fids, SM, Piece.getLocation().asLocation());
688 ? UPDLoc.asLocation()
689 : D->getLocation().asLocation()),
758 EmitLocation(o, SM, D->getLocation().asLocation(), FM, 2);
tools/clang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp 225 *P.asLocation().getExpansionLoc().getFileEntry(),
254 *Diag.getLocation().asLocation().getExpansionLoc().getFileEntry(),
tools/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp 141 reportPiece(WarnID, PD->getLocation().asLocation(),
150 reportPiece(NoteID, Piece->getLocation().asLocation(),
163 reportPiece(NoteID, Piece->getLocation().asLocation(),
tools/clang/tools/extra/clang-tidy/ClangTidy.cpp 77 Context.diag(CheckName, PD->getLocation().asLocation(),
83 Context.diag(CheckName, DiagPiece->getLocation().asLocation(),