Home
last modified time | relevance | path

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

123

/freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/
H A DPathDiagnostic.h195 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 …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DPathDiagnostic.cpp575 PathDiagnosticLocation
581 PathDiagnosticLocation
590 PathDiagnosticLocation
600 PathDiagnosticLocation
606 PathDiagnosticLocation
613 PathDiagnosticLocation
627 PathDiagnosticLocation
634 PathDiagnosticLocation
641 PathDiagnosticLocation
654 PathDiagnosticLocation
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCheckSecuritySyntaxOnly.cpp334 PathDiagnosticLocation FSLoc = in checkLoopConditionForFloat()
374 PathDiagnosticLocation CELoc = in checkCall_bcmp()
416 PathDiagnosticLocation CELoc = in checkCall_bcopy()
457 PathDiagnosticLocation CELoc = in checkCall_bzero()
495 PathDiagnosticLocation CELoc = in checkCall_gets()
535 PathDiagnosticLocation CELoc = in checkCall_getpw()
576 PathDiagnosticLocation CELoc = in checkCall_mktemp()
648 PathDiagnosticLocation CELoc = in checkCall_mkstemp()
695 PathDiagnosticLocation CELoc = in checkCall_strcpy()
723 PathDiagnosticLocation CELoc = in checkCall_strcat()
[all …]
H A DIdenticalExprChecker.cpp69 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 DCloneChecker.cpp100 static PathDiagnosticLocation makeLocation(const StmtSequence &S, in makeLocation()
103 return PathDiagnosticLocation::createBegin( in makeLocation()
169 PathDiagnosticLocation::createBegin(Pair.FirstCloneInfo.Mention, SM, in reportSuspiciousClones()
175 PathDiagnosticLocation::createBegin(Pair.SecondCloneInfo.Mention, in reportSuspiciousClones()
H A DCStringSyntaxChecker.cpp222 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 DCheckSizeofPointer.cpp64 PathDiagnosticLocation ELoc = in VisitUnaryExprOrTypeTraitExpr()
65 PathDiagnosticLocation::createBegin(E, BR.getSourceManager(), AC); in VisitUnaryExprOrTypeTraitExpr()
H A DNSErrorChecker.cpp75 PathDiagnosticLocation L = in checkASTDecl()
76 PathDiagnosticLocation::create(D, BR.getSourceManager()); in checkASTDecl()
133 PathDiagnosticLocation L = in checkASTDecl()
134 PathDiagnosticLocation::create(D, BR.getSourceManager()); in checkASTDecl()
H A DLLVMConventionsChecker.cpp181 PathDiagnosticLocation VDLoc = in VisitVarDecl()
182 PathDiagnosticLocation::createBegin(VD, BR.getSourceManager()); in VisitVarDecl()
285 PathDiagnosticLocation L = PathDiagnosticLocation::createBegin( in ReportError()
H A DCheckObjCInstMethSignature.cpp66 PathDiagnosticLocation MethDLoc = in CompareReturnTypes()
67 PathDiagnosticLocation::createBegin(MethDerived, in CompareReturnTypes()
H A DCastToStructChecker.cpp64 PathDiagnosticLocation Loc(CE, BR.getSourceManager(), AC); in VisitCastExpr()
96 PathDiagnosticLocation Loc(CE, BR.getSourceManager(), AC); in VisitCastExpr()
H A DAnalyzerStatsChecker.cpp115 output.str(), PathDiagnosticLocation(D, SM)); in checkEndAnalysis()
131 PathDiagnosticLocation::createBegin(CS->getStmt(), SM, LC)); in checkEndAnalysis()
H A DDeadStoresChecker.cpp193 PathDiagnosticLocation L, SourceRange R) { in Report()
280 PathDiagnosticLocation ExLoc = in CheckVarDecl()
281 PathDiagnosticLocation::createBegin(Ex, BR.getSourceManager(), AC); in CheckVarDecl()
437 PathDiagnosticLocation Loc = in observeStmt()
438 PathDiagnosticLocation::create(V, BR.getSourceManager()); in observeStmt()
H A DObjCMissingSuperCallChecker.cpp194 PathDiagnosticLocation DLoc = in checkASTDecl()
195 PathDiagnosticLocation::createEnd(MD->getBody(), in checkASTDecl()
H A DObjCContainersASTChecker.cpp142 PathDiagnosticLocation CELoc = in VisitCallExpr()
143 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in VisitCallExpr()
H A DObjCUnusedIVarsChecker.cpp162 PathDiagnosticLocation L = in checkObjCUnusedIvar()
163 PathDiagnosticLocation::create(Ivar, BR.getSourceManager()); in checkObjCUnusedIvar()
H A DIvarInvalidationChecker.cpp529 PathDiagnosticLocation IvarDecLocation = in reportNoInvalidationMethod()
530 PathDiagnosticLocation::createBegin(FirstIvarDecl, BR.getSourceManager()); in reportNoInvalidationMethod()
546 PathDiagnosticLocation MethodDecLocation = in reportIvarNeedsInvalidation()
547 PathDiagnosticLocation::createEnd(MethodD->getBody(), in reportIvarNeedsInvalidation()
559 PathDiagnosticLocation::createBegin(IvarD, BR.getSourceManager())); in reportIvarNeedsInvalidation()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporter.cpp270 PathDiagnosticLocation
273 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()
1954 PathDiagnosticLocation EntryLoc = in dropFunctionEntryEdge()
2409 PathDiagnosticLocation
[all …]
H A DBugSuppression.cpp130 PathDiagnosticLocation Location = R.getLocation(); in isSuppressed()
131 PathDiagnosticLocation UniqueingLocation = R.getUniqueingLocation(); in isSuppressed()
138 bool BugSuppression::isSuppressed(const PathDiagnosticLocation &Location, in isSuppressed()
H A DBugReporterVisitors.cpp363 PathDiagnosticLocation L = BR.getLocation(); in getDefaultEndPath()
789 PathDiagnosticLocation L = in maybeEmitNote()
790 PathDiagnosticLocation::create(N->getLocation(), SM); in maybeEmitNote()
1869 PathDiagnosticLocation L = in VisitNode()
2030 PathDiagnosticLocation::createBegin( in constructDebugPieceForTrackedCondition()
2223 PathDiagnosticLocation L; in constructNote()
2752 PathDiagnosticLocation L(Receiver, BRC.getSourceManager(), in VisitNode()
3125 PathDiagnosticLocation Loc; in VisitTrueTest()
3141 PathDiagnosticLocation Loc(Cond, SM, LCtx); in VisitTrueTest()
3225 PathDiagnosticLocation Loc; in VisitTrueTest()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DBugReporter.h173 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 …]
H A DBugSuppression.h26 class PathDiagnosticLocation; variable
37 bool isSuppressed(const PathDiagnosticLocation &Location,
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountDiagnostics.h74 PathDiagnosticLocation Location;
89 PathDiagnosticLocation getLocation() const override { in getLocation()
94 PathDiagnosticLocation getEndOfPath() const { in getEndOfPath()
H A DRetainCountDiagnostics.cpp417 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()
769 PathDiagnosticLocation L = cast<RefLeakReport>(BR).getEndOfPath(); in getEndPath()
863 PathDiagnosticLocation ParamLocation = in deriveParamLocation()
864 PathDiagnosticLocation::create(PDecl, SMgr); in deriveParamLocation()
903 PathDiagnosticLocation AllocLocation = PathDiagnosticLocation::createBegin( in deriveAllocLocation()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/
H A DMPIBugReporter.cpp106 PathDiagnosticLocation L = in VisitNode()
107 PathDiagnosticLocation::create(P, BRC.getSourceManager()); in VisitNode()

123