Home
last modified time | relevance | path

Searched refs:ErrorNode (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/
H A DMPIChecker.cpp45 ExplodedNode *ErrorNode = Ctx.generateNonFatalErrorNode(); in checkDoubleNonblocking() local
46 BReporter.reportDoubleNonblocking(PreCallEvent, *Req, MR, ErrorNode, in checkDoubleNonblocking()
48 Ctx.addTransition(ErrorNode->getState(), ErrorNode); in checkDoubleNonblocking()
77 ExplodedNode *ErrorNode{nullptr}; in checkUnmatchedWaits() local
84 if (!ErrorNode) { in checkUnmatchedWaits()
85 ErrorNode = Ctx.generateNonFatalErrorNode(State, &Tag); in checkUnmatchedWaits()
86 State = ErrorNode->getState(); in checkUnmatchedWaits()
89 BReporter.reportUnmatchedWait(PreCallEvent, ReqRegion, ErrorNode, in checkUnmatchedWaits()
94 if (!ErrorNode) { in checkUnmatchedWaits()
97 Ctx.addTransition(State, ErrorNode); in checkUnmatchedWaits()
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporter.cpp149 const ExplodedNode *ErrorNode,
228 const ExplodedNode *const ErrorNode; member in __anon2f4a13600111::PathDiagnosticBuilder
243 PathSensitiveBugReport *r, const ExplodedNode *ErrorNode,
1990 const PathDiagnosticConsumer *PDC, const ExplodedNode *ErrorNode, in PathDiagnosticConstruct() argument
1992 : Consumer(PDC), CurrentNode(ErrorNode), in PathDiagnosticConstruct()
1996 LCM[&PD->getActivePath()] = ErrorNode->getLocationContext(); in PathDiagnosticConstruct()
2001 PathSensitiveBugReport *r, const ExplodedNode *ErrorNode, in PathDiagnosticBuilder() argument
2004 ErrorNode(ErrorNode), in PathDiagnosticBuilder()
2010 PathDiagnosticConstruct Construct(PDC, ErrorNode, R, EntryPoint); in generate()
2019 auto EndNotes = VisitorsDiagnostics->find(ErrorNode); in generate()
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/cert/
H A DInvalidPtrChecker.cpp293 ExplodedNode *ErrorNode = C.generateNonFatalErrorNode(); in checkPostCall() local
294 if (!ErrorNode) in checkPostCall()
305 InvalidPtrBugType, Out.str(), ErrorNode); in checkPostCall()
343 ExplodedNode *ErrorNode = C.generateNonFatalErrorNode(); in checkLocation() local
344 if (!ErrorNode) in checkLocation()
348 InvalidPtrBugType, "dereferencing an invalid pointer", ErrorNode); in checkLocation()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DArrayBoundCheckerV2.cpp701 ExplodedNode *ErrorNode = C.generateErrorNode(ErrorState); in reportOOB() local
702 if (!ErrorNode) in reportOOB()
706 IsTaintBug ? TaintBT : BT, Msgs.Short, Msgs.Full, ErrorNode); in reportOOB()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DBugReporter.h298 const ExplodedNode *ErrorNode = nullptr;
402 const ExplodedNode *getErrorNode() const { return ErrorNode; } in getErrorNode()