Searched refs:PathDiagnosticLocation (Results 1 - 25 of 59) sorted by relevance

123

/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Analysis/
H A DPathDiagnostic.h157 class PathDiagnosticLocation { class in namespace:clang::ento
167 PathDiagnosticLocation(SourceLocation L, const SourceManager &sm, Kind kind) function in class:clang::ento::PathDiagnosticLocation
179 PathDiagnosticLocation() = default;
182 PathDiagnosticLocation(const Stmt *s, const SourceManager &sm, function in class:clang::ento::PathDiagnosticLocation
193 PathDiagnosticLocation(const Decl *d, const SourceManager &sm) function in class:clang::ento::PathDiagnosticLocation
203 PathDiagnosticLocation(SourceLocation loc, const SourceManager &sm) function in class:clang::ento::PathDiagnosticLocation
210 static PathDiagnosticLocation create(const Decl *D,
212 return PathDiagnosticLocation(D, SM);
216 static PathDiagnosticLocation createBegin(const Decl *D,
222 static PathDiagnosticLocation
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
H A DPathDiagnostic.cpp123 PathDiagnosticLocation LocationToUnique, const Decl *DeclToUnique,
460 // PathDiagnosticLocation methods.
463 SourceLocation PathDiagnosticLocation::getValidSourceLocation(
468 "PathDiagnosticLocation upon creation.");
507 static PathDiagnosticLocation
518 return PathDiagnosticLocation(Source.castAs<CFGStmt>().getStmt(),
522 return PathDiagnosticLocation(Init.getInitializer()->getInit(),
527 return PathDiagnosticLocation::createEnd(Dtor.getTriggerStmt(),
532 return PathDiagnosticLocation(Dtor.getDeleteExpr(), SM, CallerCtx);
538 return PathDiagnosticLocation
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountDiagnostics.h73 PathDiagnosticLocation Location;
86 PathDiagnosticLocation getLocation() const override {
91 PathDiagnosticLocation getEndOfPath() const {
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCheckSizeofPointer.cpp64 PathDiagnosticLocation ELoc =
65 PathDiagnosticLocation::createBegin(E, BR.getSourceManager(), AC);
H A DCloneChecker.cpp99 static PathDiagnosticLocation makeLocation(const StmtSequence &S,
102 return PathDiagnosticLocation::createBegin(
176 PathDiagnosticLocation::createBegin(Pair.FirstCloneInfo.Mention, SM,
182 PathDiagnosticLocation::createBegin(Pair.SecondCloneInfo.Mention,
H A DCheckSecuritySyntaxOnly.cpp336 PathDiagnosticLocation FSLoc =
337 PathDiagnosticLocation::createBegin(FS, BR.getSourceManager(), AC);
376 PathDiagnosticLocation CELoc =
377 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC);
418 PathDiagnosticLocation CELoc =
419 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC);
459 PathDiagnosticLocation CELoc =
460 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC);
497 PathDiagnosticLocation CELoc =
498 PathDiagnosticLocation
[all...]
H A DCastToStructChecker.cpp64 PathDiagnosticLocation Loc(CE, BR.getSourceManager(), AC);
96 PathDiagnosticLocation Loc(CE, BR.getSourceManager(), AC);
H A DCheckObjCInstMethSignature.cpp68 PathDiagnosticLocation MethDLoc =
69 PathDiagnosticLocation::createBegin(MethDerived,
H A DCStringSyntaxChecker.cpp222 PathDiagnosticLocation Loc =
223 PathDiagnosticLocation::createBegin(LenArg, BR.getSourceManager(), AC);
247 PathDiagnosticLocation Loc =
248 PathDiagnosticLocation::createBegin(LenArg, BR.getSourceManager(), AC);
H A DLLVMConventionsChecker.cpp181 PathDiagnosticLocation VDLoc =
182 PathDiagnosticLocation::createBegin(VD, BR.getSourceManager());
285 PathDiagnosticLocation L = PathDiagnosticLocation::createBegin(
H A DOSObjectCStyleCast.cpp54 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), ADC),
H A DObjCPropertyChecker.cpp74 PathDiagnosticLocation::createBegin(D, BR.getSourceManager()),
H A DIdenticalExprChecker.cpp69 PathDiagnosticLocation ELoc =
70 PathDiagnosticLocation::createOperatorLoc(B, BR.getSourceManager());
119 PathDiagnosticLocation ELoc(InnerIf->getCond(), BR.getSourceManager(), AC);
142 PathDiagnosticLocation ELoc(Cond2, BR.getSourceManager(), AC);
171 PathDiagnosticLocation ELoc =
172 PathDiagnosticLocation::createBegin(I, BR.getSourceManager(), AC);
254 PathDiagnosticLocation ELoc =
255 PathDiagnosticLocation::createOperatorLoc(B, BR.getSourceManager());
278 PathDiagnosticLocation ELoc =
279 PathDiagnosticLocation
[all...]
H A DAnalyzerStatsChecker.cpp115 output.str(), PathDiagnosticLocation(D, SM));
134 PathDiagnosticLocation::createBegin(CS->getStmt(), SM, LC));
H A DObjCAutoreleaseWriteChecker.cpp131 PathDiagnosticLocation Location = PathDiagnosticLocation::createBegin(
H A DObjCContainersASTChecker.cpp142 PathDiagnosticLocation CELoc =
143 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC);
H A DObjCMissingSuperCallChecker.cpp195 PathDiagnosticLocation DLoc =
196 PathDiagnosticLocation::createEnd(MD->getBody(),
H A DObjCUnusedIVarsChecker.cpp163 PathDiagnosticLocation L =
164 PathDiagnosticLocation::create(I->first, BR.getSourceManager());
H A DRunLoopAutoreleaseLeakChecker.cpp112 PathDiagnosticLocation Location = PathDiagnosticLocation::createBegin(
H A DNSErrorChecker.cpp74 PathDiagnosticLocation L =
75 PathDiagnosticLocation::create(D, BR.getSourceManager());
132 PathDiagnosticLocation L =
133 PathDiagnosticLocation::create(D, BR.getSourceManager());
H A DPointerIterationChecker.cpp44 auto Location = PathDiagnosticLocation::createBegin(MarkedStmt,
H A DPointerSortingChecker.cpp44 auto Location = PathDiagnosticLocation::createBegin(MarkedStmt,
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DBugReporter.h175 virtual PathDiagnosticLocation getLocation() const = 0;
191 virtual PathDiagnosticLocation getUniqueingLocation() const = 0;
203 void addNote(StringRef Msg, const PathDiagnosticLocation &Pos,
254 PathDiagnosticLocation Location;
258 BasicBugReport(const BugType &bt, StringRef desc, PathDiagnosticLocation l)
265 PathDiagnosticLocation getLocation() const override {
274 PathDiagnosticLocation getUniqueingLocation() const override {
357 PathDiagnosticLocation UniqueingLocation;
390 PathDiagnosticLocation LocationToUnique,
397 PathDiagnosticLocation LocationToUniqu
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporter.cpp248 PathDiagnosticLocation &PrevLoc) const;
255 PathDiagnosticLocation &Start) const;
259 PathDiagnosticLocation &Start) const;
265 PathDiagnosticLocation
268 PathDiagnosticLocation
494 PathDiagnosticLocation *LastCallLocation = nullptr) {
511 PathDiagnosticLocation *ThisCallLocation;
577 PathDiagnosticLocation PathDiagnosticBuilder::ExecutionContinues(
580 return PathDiagnosticLocation(S, getSourceManager(),
583 return PathDiagnosticLocation
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/
H A DMPIBugReporter.cpp106 PathDiagnosticLocation L =
107 PathDiagnosticLocation::create(P, BRC.getSourceManager());

Completed in 191 milliseconds

123