Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/Analysis/
DPathDiagnostic.cpp171 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/
DPathDiagnostic.cpp124 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 …]
DHTMLDiagnostics.cpp129 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()
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()
397 ? UPDLoc.asLocation() in FlushDiagnosticsImpl()
398 : D->getLocation().asLocation()), in FlushDiagnosticsImpl()
465 EmitLocation(o, *SM, D->getLocation().asLocation(), FM, 2); in FlushDiagnosticsImpl()
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.cpp327 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/
DHTMLDiagnostics.cpp219 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 …]
DTextDiagnostics.cpp97 reportPiece(WarnID, PD->getLocation().asLocation(), in FlushDiagnosticsImpl()
106 reportPiece(NoteID, Piece->getLocation().asLocation(), in FlushDiagnosticsImpl()
120 reportPiece(NoteID, Piece->getLocation().asLocation(), in FlushDiagnosticsImpl()
DPlistDiagnostics.cpp321 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()
DBugReporter.cpp503 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 …]
DSarifDiagnostics.cpp264 *P.asLocation().getExpansionLoc().getFileEntry(), in createThreadFlow()
295 *Diag.getLocation().asLocation().getExpansionLoc().getFileEntry(), in createResult()
DBugReporterVisitors.cpp1111 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/
DUnreachableCodeChecker.cpp152 SL = DL.asLocation(); in checkEndAnalysis()
DObjCSuperDeallocChecker.cpp275 if (!L.isValid() || !L.asLocation().isValid()) in VisitNode()
DTestAfterDivZeroChecker.cpp128 if (!L.isValid() || !L.asLocation().isValid()) in REGISTER_SET_WITH_PROGRAMSTATE()
DLocalizationChecker.cpp923 if (!L.isValid() || !L.asLocation().isValid()) in VisitNode()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DUnreachableCodeChecker.cpp160 SL = DL.asLocation(); in checkEndAnalysis()
DObjCSuperDeallocChecker.cpp270 if (!L.isValid() || !L.asLocation().isValid()) in VisitNode()
DTaint.cpp248 if (!L.isValid() || !L.asLocation().isValid()) in VisitNode()
DTestAfterDivZeroChecker.cpp124 if (!L.isValid() || !L.asLocation().isValid()) in REGISTER_SET_WITH_PROGRAMSTATE()
DLocalizationChecker.cpp1024 if (!L.isValid() || !L.asLocation().isValid()) in VisitNode()
/external/llvm-project/clang-tools-extra/clang-tidy/
DClangTidy.cpp78 Context.diag(CheckName, PD->getLocation().asLocation(), in FlushDiagnosticsImpl()
84 Context.diag(CheckName, DiagPiece->getLocation().asLocation(), in FlushDiagnosticsImpl()
/external/clang/lib/StaticAnalyzer/Frontend/
DAnalysisConsumer.cpp117 SourceLocation WarnLoc = PD->getLocation().asLocation(); in FlushDiagnosticsImpl()
128 SourceLocation NoteLoc = (*PI)->getLocation().asLocation(); in FlushDiagnosticsImpl()
/external/llvm-project/clang/include/clang/Analysis/
DPathDiagnostic.h342 FullSourceLoc asLocation() const { in asLocation() function
361 bool hasValidLocation() const { return asLocation().isValid(); } in hasValidLocation()
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
DPathDiagnostic.h275 FullSourceLoc asLocation() const { in asLocation() function
444 assert(Pos.isValid() && Pos.asLocation().isValid() && in PathDiagnosticPiece()