Home
last modified time | relevance | path

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

123

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DPathDiagnostic.h156 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 DBugReporter.h102 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 DPathDiagnostic.cpp635 PathDiagnosticLocation
641 PathDiagnosticLocation
649 PathDiagnosticLocation
659 PathDiagnosticLocation
665 PathDiagnosticLocation
672 PathDiagnosticLocation
678 PathDiagnosticLocation
685 PathDiagnosticLocation
692 PathDiagnosticLocation
705 PathDiagnosticLocation
[all …]
H A DBugReporter.cpp387 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 DBugReporterVisitors.cpp199 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 DCheckSecuritySyntaxOnly.cpp303 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 DIdenticalExprChecker.cpp70 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 DCloneChecker.cpp107 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 DValistChecker.cpp87 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 DCStringSyntaxChecker.cpp221 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 DNSErrorChecker.cpp75 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 DCheckSizeofPointer.cpp65 PathDiagnosticLocation ELoc = in VisitUnaryExprOrTypeTraitExpr()
66 PathDiagnosticLocation::createBegin(E, BR.getSourceManager(), AC); in VisitUnaryExprOrTypeTraitExpr()
H A DLLVMConventionsChecker.cpp182 PathDiagnosticLocation VDLoc = in VisitVarDecl()
183 PathDiagnosticLocation::createBegin(VD, BR.getSourceManager()); in VisitVarDecl()
286 PathDiagnosticLocation L = PathDiagnosticLocation::createBegin( in ReportError()
H A DDeadStoresChecker.cpp165 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 DCheckObjCInstMethSignature.cpp69 PathDiagnosticLocation MethDLoc = in CompareReturnTypes()
70 PathDiagnosticLocation::createBegin(MethDerived, in CompareReturnTypes()
H A DCastToStructChecker.cpp65 PathDiagnosticLocation Loc(CE, BR.getSourceManager(), AC); in VisitCastExpr()
97 PathDiagnosticLocation Loc(CE, BR.getSourceManager(), AC); in VisitCastExpr()
H A DDeleteWithNonVirtualDtorChecker.cpp112 const Stmt *S = PathDiagnosticLocation::getStmt(N); in VisitNode()
142 PathDiagnosticLocation Pos(S, BRC.getSourceManager(), in VisitNode()
H A DAnalyzerStatsChecker.cpp116 output.str(), PathDiagnosticLocation(D, SM)); in checkEndAnalysis()
135 PathDiagnosticLocation::createBegin(CS->getStmt(), SM, LC)); in checkEndAnalysis()
H A DObjCContainersASTChecker.cpp143 PathDiagnosticLocation CELoc = in VisitCallExpr()
144 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in VisitCallExpr()
H A DObjCMissingSuperCallChecker.cpp196 PathDiagnosticLocation DLoc = in checkASTDecl()
197 PathDiagnosticLocation::createEnd(MD->getBody(), in checkASTDecl()
H A DObjCAutoreleaseWriteChecker.cpp131 PathDiagnosticLocation Location = PathDiagnosticLocation::createBegin( in emitDiagnostics()
H A DIvarInvalidationChecker.cpp544 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 DRunLoopAutoreleaseLeakChecker.cpp113 PathDiagnosticLocation Location = PathDiagnosticLocation::createBegin( in emitDiagnostics()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountDiagnostics.cpp342 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 DMPIBugReporter.cpp105 PathDiagnosticLocation L = in VisitNode()
106 PathDiagnosticLocation::create(P, BRC.getSourceManager()); in VisitNode()

123