| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
| H A D | PathDiagnostic.h | 156 class PathDiagnosticLocation { 178 PathDiagnosticLocation() = default; 211 return PathDiagnosticLocation(D, SM); in create() 221 static PathDiagnosticLocation 318 *this = PathDiagnosticLocation(); in invalidate() 339 PathDiagnosticLocation Start, End; 464 PathDiagnosticLocation Pos; 605 PathDiagnosticLocation callEnter; 607 PathDiagnosticLocation callReturn; 777 PathDiagnosticLocation Loc; [all …]
|
| H A D | BugReporter.h | 102 PathDiagnosticLocation Location; 103 PathDiagnosticLocation UniqueingLocation; 175 BugReport(BugType &bt, StringRef desc, PathDiagnosticLocation l) in BugReport() 186 PathDiagnosticLocation LocationToUnique, const Decl *DeclToUnique) in BugReport() 270 void addNote(StringRef Msg, const PathDiagnosticLocation &Pos, in addNote() 282 void addNote(StringRef Msg, const PathDiagnosticLocation &Pos) { in addNote() 307 virtual PathDiagnosticLocation getLocation(const SourceManager &SM) const; 310 PathDiagnosticLocation getUniqueingLocation() const { in getUniqueingLocation() 495 StringRef BugStr, PathDiagnosticLocation Loc, 500 StringRef BugStr, PathDiagnosticLocation Loc,
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
| H A D | PathDiagnostic.cpp | 635 PathDiagnosticLocation 641 PathDiagnosticLocation 649 PathDiagnosticLocation 659 PathDiagnosticLocation 665 PathDiagnosticLocation 672 PathDiagnosticLocation 678 PathDiagnosticLocation 685 PathDiagnosticLocation 692 PathDiagnosticLocation 705 PathDiagnosticLocation [all …]
|
| H A D | BugReporter.cpp | 387 PathDiagnosticLocation 396 PathDiagnosticLocation 448 static PathDiagnosticLocation 515 PathDiagnosticLocation 559 PathDiagnosticLocation &Start in generateDiagForSwitchOP() 564 PathDiagnosticLocation End; in generateDiagForSwitchOP() 618 PathDiagnosticLocation &Start) { in generateDiagForGotoOP() 639 PathDiagnosticLocation Start, End; in generateDiagForBinaryOP() 1018 PathDiagnosticLocation &PrevLoc, in generatePathDiagnosticsForNode() 1151 PathDiagnosticLocation L = in generatePathDiagnosticsForNode() [all …]
|
| H A D | BugReporterVisitors.cpp | 199 PathDiagnosticLocation L = in getDefaultEndPath() 557 PathDiagnosticLocation L; in notModifiedDiagnostics() 559 L = PathDiagnosticLocation::createBegin(RS, SM, Ctx); in notModifiedDiagnostics() 561 L = PathDiagnosticLocation( in notModifiedDiagnostics() 724 const Stmt *S = PathDiagnosticLocation::getStmt(N); in matchAssignment() 1318 PathDiagnosticLocation L; in VisitNode() 1391 PathDiagnosticLocation L = in VisitNode() 1591 if (PathDiagnosticLocation::getStmt(N) == Inner) in findNodeForExpression() 1763 PathDiagnosticLocation L(Receiver, BRC.getSourceManager(), in VisitNode() 2430 const Stmt *S = PathDiagnosticLocation::getStmt(N); in VisitNode() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | CheckSecuritySyntaxOnly.cpp | 303 PathDiagnosticLocation FSLoc = in checkLoopConditionForFloat() 343 PathDiagnosticLocation CELoc = in checkCall_bcmp() 385 PathDiagnosticLocation CELoc = in checkCall_bcopy() 426 PathDiagnosticLocation CELoc = in checkCall_bzero() 464 PathDiagnosticLocation CELoc = in checkCall_gets() 504 PathDiagnosticLocation CELoc = in checkCall_getpw() 545 PathDiagnosticLocation CELoc = in checkCall_mktemp() 618 PathDiagnosticLocation CELoc = in checkCall_mkstemp() 664 PathDiagnosticLocation CELoc = in checkCall_strcpy() 691 PathDiagnosticLocation CELoc = in checkCall_strcat() [all …]
|
| H A D | IdenticalExprChecker.cpp | 70 PathDiagnosticLocation ELoc = in reportIdenticalExpr() 71 PathDiagnosticLocation::createOperatorLoc(B, BR.getSourceManager()); in reportIdenticalExpr() 120 PathDiagnosticLocation ELoc(InnerIf->getCond(), BR.getSourceManager(), AC); in VisitIfStmt() 143 PathDiagnosticLocation ELoc(Cond2, BR.getSourceManager(), AC); in VisitIfStmt() 172 PathDiagnosticLocation ELoc = in VisitIfStmt() 173 PathDiagnosticLocation::createBegin(I, BR.getSourceManager(), AC); in VisitIfStmt() 255 PathDiagnosticLocation ELoc = in checkComparisonOp() 256 PathDiagnosticLocation::createOperatorLoc(B, BR.getSourceManager()); in checkComparisonOp() 279 PathDiagnosticLocation ELoc = in VisitConditionalOperator() 280 PathDiagnosticLocation::createConditionalColonLoc( in VisitConditionalOperator()
|
| H A D | CloneChecker.cpp | 107 static PathDiagnosticLocation makeLocation(const StmtSequence &S, in makeLocation() 110 return PathDiagnosticLocation::createBegin( in makeLocation() 184 PathDiagnosticLocation::createBegin(Pair.FirstCloneInfo.Mention, SM, in reportSuspiciousClones() 190 PathDiagnosticLocation::createBegin(Pair.SecondCloneInfo.Mention, in reportSuspiciousClones()
|
| H A D | ValistChecker.cpp | 87 PathDiagnosticLocation L = PathDiagnosticLocation::createEndOfPath( in getEndPath() 284 PathDiagnosticLocation LocUsedForUniqueing; in reportLeakedVALists() 286 if (const Stmt *StartCallStmt = PathDiagnosticLocation::getStmt(StartNode)) in reportLeakedVALists() 287 LocUsedForUniqueing = PathDiagnosticLocation::createBegin( in reportLeakedVALists() 383 const Stmt *S = PathDiagnosticLocation::getStmt(N); in VisitNode() 398 PathDiagnosticLocation Pos(S, BRC.getSourceManager(), in VisitNode()
|
| H A D | CStringSyntaxChecker.cpp | 221 PathDiagnosticLocation Loc = in VisitCallExpr() 222 PathDiagnosticLocation::createBegin(LenArg, BR.getSourceManager(), AC); in VisitCallExpr() 246 PathDiagnosticLocation Loc = in VisitCallExpr() 247 PathDiagnosticLocation::createBegin(LenArg, BR.getSourceManager(), AC); in VisitCallExpr()
|
| H A D | NSErrorChecker.cpp | 75 PathDiagnosticLocation L = in checkASTDecl() 76 PathDiagnosticLocation::create(D, BR.getSourceManager()); in checkASTDecl() 122 PathDiagnosticLocation L = in checkASTDecl() 123 PathDiagnosticLocation::create(D, BR.getSourceManager()); in checkASTDecl()
|
| H A D | CheckSizeofPointer.cpp | 65 PathDiagnosticLocation ELoc = in VisitUnaryExprOrTypeTraitExpr() 66 PathDiagnosticLocation::createBegin(E, BR.getSourceManager(), AC); in VisitUnaryExprOrTypeTraitExpr()
|
| H A D | LLVMConventionsChecker.cpp | 182 PathDiagnosticLocation VDLoc = in VisitVarDecl() 183 PathDiagnosticLocation::createBegin(VD, BR.getSourceManager()); in VisitVarDecl() 286 PathDiagnosticLocation L = PathDiagnosticLocation::createBegin( in ReportError()
|
| H A D | DeadStoresChecker.cpp | 165 PathDiagnosticLocation L, SourceRange R) { in Report() 224 PathDiagnosticLocation ExLoc = in CheckVarDecl() 225 PathDiagnosticLocation::createBegin(Ex, BR.getSourceManager(), AC); in CheckVarDecl() 381 PathDiagnosticLocation Loc = in observeStmt() 382 PathDiagnosticLocation::create(V, BR.getSourceManager()); in observeStmt()
|
| H A D | CheckObjCInstMethSignature.cpp | 69 PathDiagnosticLocation MethDLoc = in CompareReturnTypes() 70 PathDiagnosticLocation::createBegin(MethDerived, in CompareReturnTypes()
|
| H A D | CastToStructChecker.cpp | 65 PathDiagnosticLocation Loc(CE, BR.getSourceManager(), AC); in VisitCastExpr() 97 PathDiagnosticLocation Loc(CE, BR.getSourceManager(), AC); in VisitCastExpr()
|
| H A D | DeleteWithNonVirtualDtorChecker.cpp | 112 const Stmt *S = PathDiagnosticLocation::getStmt(N); in VisitNode() 142 PathDiagnosticLocation Pos(S, BRC.getSourceManager(), in VisitNode()
|
| H A D | AnalyzerStatsChecker.cpp | 116 output.str(), PathDiagnosticLocation(D, SM)); in checkEndAnalysis() 135 PathDiagnosticLocation::createBegin(CS->getStmt(), SM, LC)); in checkEndAnalysis()
|
| H A D | ObjCContainersASTChecker.cpp | 143 PathDiagnosticLocation CELoc = in VisitCallExpr() 144 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in VisitCallExpr()
|
| H A D | ObjCMissingSuperCallChecker.cpp | 196 PathDiagnosticLocation DLoc = in checkASTDecl() 197 PathDiagnosticLocation::createEnd(MD->getBody(), in checkASTDecl()
|
| H A D | ObjCAutoreleaseWriteChecker.cpp | 131 PathDiagnosticLocation Location = PathDiagnosticLocation::createBegin( in emitDiagnostics()
|
| H A D | IvarInvalidationChecker.cpp | 544 PathDiagnosticLocation IvarDecLocation = in reportNoInvalidationMethod() 545 PathDiagnosticLocation::createBegin(FirstIvarDecl, BR.getSourceManager()); in reportNoInvalidationMethod() 561 PathDiagnosticLocation MethodDecLocation = in reportIvarNeedsInvalidation() 562 PathDiagnosticLocation::createEnd(MethodD->getBody(), in reportIvarNeedsInvalidation() 574 PathDiagnosticLocation::createBegin(IvarD, BR.getSourceManager())); in reportIvarNeedsInvalidation()
|
| H A D | RunLoopAutoreleaseLeakChecker.cpp | 113 PathDiagnosticLocation Location = PathDiagnosticLocation::createBegin( in emitDiagnostics()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
| H A D | RetainCountDiagnostics.cpp | 342 PathDiagnosticLocation L; in annotateConsumedSummaryMismatch() 344 L = PathDiagnosticLocation::createBegin(RS, SM, N->getLocationContext()); in annotateConsumedSummaryMismatch() 346 L = PathDiagnosticLocation( in annotateConsumedSummaryMismatch() 423 PathDiagnosticLocation Pos(S, SM, N->getLocationContext()); in VisitNode() 471 PathDiagnosticLocation Pos(S, BRC.getSourceManager(), in VisitNode() 627 PathDiagnosticLocation L = PathDiagnosticLocation::createEndOfPath(LeakN, SM); in getEndPath() 714 PathDiagnosticLocation ParamLocation = in deriveParamLocation() 715 PathDiagnosticLocation::create(PDecl, SMgr); in deriveParamLocation() 748 AllocStmt = PathDiagnosticLocation::getStmt(AllocNode); in deriveAllocLocation() 755 PathDiagnosticLocation AllocLocation = in deriveAllocLocation() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/ |
| H A D | MPIBugReporter.cpp | 105 PathDiagnosticLocation L = in VisitNode() 106 PathDiagnosticLocation::create(P, BRC.getSourceManager()); in VisitNode()
|