| /llvm-project-15.0.7/clang/include/clang/Analysis/ |
| H A D | PathDiagnostic.h | 195 class PathDiagnosticLocation { 217 PathDiagnosticLocation() = default; 250 return PathDiagnosticLocation(D, SM); in create() 260 static PathDiagnosticLocation 361 *this = PathDiagnosticLocation(); in invalidate() 375 PathDiagnosticLocation Start, End; 510 PathDiagnosticLocation Pos; 587 PathDiagnosticLocation callEnter; 589 PathDiagnosticLocation callReturn; 773 PathDiagnosticLocation Loc; [all …]
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | PathDiagnostic.cpp | 579 PathDiagnosticLocation 585 PathDiagnosticLocation 593 PathDiagnosticLocation 603 PathDiagnosticLocation 609 PathDiagnosticLocation 616 PathDiagnosticLocation 630 PathDiagnosticLocation 637 PathDiagnosticLocation 644 PathDiagnosticLocation 657 PathDiagnosticLocation [all …]
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | CheckSecuritySyntaxOnly.cpp | 336 PathDiagnosticLocation FSLoc = in checkLoopConditionForFloat() 376 PathDiagnosticLocation CELoc = in checkCall_bcmp() 418 PathDiagnosticLocation CELoc = in checkCall_bcopy() 459 PathDiagnosticLocation CELoc = in checkCall_bzero() 497 PathDiagnosticLocation CELoc = in checkCall_gets() 537 PathDiagnosticLocation CELoc = in checkCall_getpw() 578 PathDiagnosticLocation CELoc = in checkCall_mktemp() 650 PathDiagnosticLocation CELoc = in checkCall_mkstemp() 697 PathDiagnosticLocation CELoc = in checkCall_strcpy() 725 PathDiagnosticLocation CELoc = in checkCall_strcat() [all …]
|
| H A D | IdenticalExprChecker.cpp | 69 PathDiagnosticLocation ELoc = in reportIdenticalExpr() 70 PathDiagnosticLocation::createOperatorLoc(B, BR.getSourceManager()); in reportIdenticalExpr() 119 PathDiagnosticLocation ELoc(InnerIf->getCond(), BR.getSourceManager(), AC); in VisitIfStmt() 142 PathDiagnosticLocation ELoc(Cond2, BR.getSourceManager(), AC); in VisitIfStmt() 171 PathDiagnosticLocation ELoc = in VisitIfStmt() 172 PathDiagnosticLocation::createBegin(I, BR.getSourceManager(), AC); in VisitIfStmt() 254 PathDiagnosticLocation ELoc = in checkComparisonOp() 255 PathDiagnosticLocation::createOperatorLoc(B, BR.getSourceManager()); in checkComparisonOp() 278 PathDiagnosticLocation ELoc = in VisitConditionalOperator() 279 PathDiagnosticLocation::createConditionalColonLoc( in VisitConditionalOperator()
|
| H A D | CloneChecker.cpp | 99 static PathDiagnosticLocation makeLocation(const StmtSequence &S, in makeLocation() 102 return PathDiagnosticLocation::createBegin( in makeLocation() 176 PathDiagnosticLocation::createBegin(Pair.FirstCloneInfo.Mention, SM, in reportSuspiciousClones() 182 PathDiagnosticLocation::createBegin(Pair.SecondCloneInfo.Mention, in reportSuspiciousClones()
|
| H A D | CStringSyntaxChecker.cpp | 222 PathDiagnosticLocation Loc = in VisitCallExpr() 223 PathDiagnosticLocation::createBegin(LenArg, BR.getSourceManager(), AC); in VisitCallExpr() 247 PathDiagnosticLocation Loc = in VisitCallExpr() 248 PathDiagnosticLocation::createBegin(LenArg, BR.getSourceManager(), AC); in VisitCallExpr()
|
| H A D | CheckSizeofPointer.cpp | 64 PathDiagnosticLocation ELoc = in VisitUnaryExprOrTypeTraitExpr() 65 PathDiagnosticLocation::createBegin(E, BR.getSourceManager(), AC); in VisitUnaryExprOrTypeTraitExpr()
|
| H A D | LLVMConventionsChecker.cpp | 181 PathDiagnosticLocation VDLoc = in VisitVarDecl() 182 PathDiagnosticLocation::createBegin(VD, BR.getSourceManager()); in VisitVarDecl() 285 PathDiagnosticLocation L = PathDiagnosticLocation::createBegin( in ReportError()
|
| H A D | NSErrorChecker.cpp | 74 PathDiagnosticLocation L = in checkASTDecl() 75 PathDiagnosticLocation::create(D, BR.getSourceManager()); in checkASTDecl() 132 PathDiagnosticLocation L = in checkASTDecl() 133 PathDiagnosticLocation::create(D, BR.getSourceManager()); in checkASTDecl()
|
| H A D | CheckObjCInstMethSignature.cpp | 66 PathDiagnosticLocation MethDLoc = in CompareReturnTypes() 67 PathDiagnosticLocation::createBegin(MethDerived, in CompareReturnTypes()
|
| H A D | CastToStructChecker.cpp | 64 PathDiagnosticLocation Loc(CE, BR.getSourceManager(), AC); in VisitCastExpr() 96 PathDiagnosticLocation Loc(CE, BR.getSourceManager(), AC); in VisitCastExpr()
|
| H A D | DeadStoresChecker.cpp | 193 PathDiagnosticLocation L, SourceRange R) { in Report() 280 PathDiagnosticLocation ExLoc = in CheckVarDecl() 281 PathDiagnosticLocation::createBegin(Ex, BR.getSourceManager(), AC); in CheckVarDecl() 439 PathDiagnosticLocation Loc = in observeStmt() 440 PathDiagnosticLocation::create(V, BR.getSourceManager()); in observeStmt()
|
| H A D | AnalyzerStatsChecker.cpp | 114 output.str(), PathDiagnosticLocation(D, SM)); in checkEndAnalysis() 133 PathDiagnosticLocation::createBegin(CS->getStmt(), SM, LC)); in checkEndAnalysis()
|
| H A D | ObjCMissingSuperCallChecker.cpp | 196 PathDiagnosticLocation DLoc = in checkASTDecl() 197 PathDiagnosticLocation::createEnd(MD->getBody(), in checkASTDecl()
|
| H A D | ObjCContainersASTChecker.cpp | 142 PathDiagnosticLocation CELoc = in VisitCallExpr() 143 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in VisitCallExpr()
|
| H A D | IvarInvalidationChecker.cpp | 543 PathDiagnosticLocation IvarDecLocation = in reportNoInvalidationMethod() 544 PathDiagnosticLocation::createBegin(FirstIvarDecl, BR.getSourceManager()); in reportNoInvalidationMethod() 560 PathDiagnosticLocation MethodDecLocation = in reportIvarNeedsInvalidation() 561 PathDiagnosticLocation::createEnd(MethodD->getBody(), in reportIvarNeedsInvalidation() 573 PathDiagnosticLocation::createBegin(IvarD, BR.getSourceManager())); in reportIvarNeedsInvalidation()
|
| H A D | ValistChecker.cpp | 87 PathDiagnosticLocation L = BR.getLocation(); in getEndPath() 286 PathDiagnosticLocation LocUsedForUniqueing; in reportLeakedVALists() 289 LocUsedForUniqueing = PathDiagnosticLocation::createBegin( in reportLeakedVALists() 399 PathDiagnosticLocation Pos(S, BRC.getSourceManager(), in VisitNode()
|
| H A D | RunLoopAutoreleaseLeakChecker.cpp | 112 PathDiagnosticLocation Location = PathDiagnosticLocation::createBegin( in emitDiagnostics()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | BugReporter.cpp | 268 PathDiagnosticLocation 271 PathDiagnosticLocation 641 static PathDiagnosticLocation 751 PathDiagnosticLocation End; in generateDiagForSwitchOP() 806 const PathDiagnosticLocation &End = in generateDiagForGotoOP() 822 PathDiagnosticLocation Start, End; in generateDiagForBinaryOP() 1231 PathDiagnosticLocation L = in generatePathDiagnosticsForNode() 1452 PathDiagnosticLocation DstContext = in addContextEdges() 1953 PathDiagnosticLocation EntryLoc = in dropFunctionEntryEdge() 2411 PathDiagnosticLocation [all …]
|
| H A D | BugReporterVisitors.cpp | 337 PathDiagnosticLocation L = BR.getLocation(); in getDefaultEndPath() 763 PathDiagnosticLocation L = in maybeEmitNote() 764 PathDiagnosticLocation::create(N->getLocation(), SM); in maybeEmitNote() 1693 PathDiagnosticLocation L = in VisitNode() 1854 PathDiagnosticLocation::createBegin( in constructDebugPieceForTrackedCondition() 2047 PathDiagnosticLocation L; in constructNote() 2556 PathDiagnosticLocation L(Receiver, BRC.getSourceManager(), in VisitNode() 2931 PathDiagnosticLocation Loc; in VisitTrueTest() 2947 PathDiagnosticLocation Loc(Cond, SM, LCtx); in VisitTrueTest() 3031 PathDiagnosticLocation Loc; in VisitTrueTest() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
| H A D | BugReporter.h | 173 virtual PathDiagnosticLocation getLocation() const = 0; 189 virtual PathDiagnosticLocation getUniqueingLocation() const = 0; 201 void addNote(StringRef Msg, const PathDiagnosticLocation &Pos, 252 PathDiagnosticLocation Location; 263 PathDiagnosticLocation getLocation() const override { in getLocation() 272 PathDiagnosticLocation getUniqueingLocation() const override { in getUniqueingLocation() 355 PathDiagnosticLocation UniqueingLocation; 388 PathDiagnosticLocation LocationToUnique, in PathSensitiveBugReport() 395 PathDiagnosticLocation LocationToUnique, 412 PathDiagnosticLocation getUniqueingLocation() const override { in getUniqueingLocation() [all …]
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
| H A D | RetainCountDiagnostics.h | 74 PathDiagnosticLocation Location; 89 PathDiagnosticLocation getLocation() const override { in getLocation() 94 PathDiagnosticLocation getEndOfPath() const { in getEndOfPath()
|
| H A D | RetainCountDiagnostics.cpp | 417 PathDiagnosticLocation L = PathDiagnosticLocation::create(CallExitLoc, SM); in annotateConsumedSummaryMismatch() 438 PathDiagnosticLocation L = PathDiagnosticLocation(PVD, SM); in annotateStartParameter() 495 auto Pos = PathDiagnosticLocation::create(N->getLocation(), SM); in VisitNode() 537 PathDiagnosticLocation Pos(S, SM, N->getLocationContext()); in VisitNode() 589 PathDiagnosticLocation Pos(S, BRC.getSourceManager(), in VisitNode() 767 PathDiagnosticLocation L = cast<RefLeakReport>(BR).getEndOfPath(); in getEndPath() 864 PathDiagnosticLocation ParamLocation = in deriveParamLocation() 865 PathDiagnosticLocation::create(PDecl, SMgr); in deriveParamLocation() 904 PathDiagnosticLocation AllocLocation = PathDiagnosticLocation::createBegin( in deriveAllocLocation()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/ |
| H A D | MPIBugReporter.cpp | 106 PathDiagnosticLocation L = in VisitNode() 107 PathDiagnosticLocation::create(P, BRC.getSourceManager()); in VisitNode()
|
| /llvm-project-15.0.7/clang/unittests/StaticAnalyzer/ |
| H A D | NoStateChangeFuncVisitorTest.cpp | 70 PathDiagnosticLocation L = PathDiagnosticLocation::create( in maybeEmitNoteForParameters()
|