Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/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 …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DNonNullParamChecker.cpp278 NonNullParamChecker::genReportNullAttrNonNull(const ExplodedNode *ErrorNode, in genReportNullAttrNonNull() argument
295 std::make_unique<PathSensitiveBugReport>(*BTAttrNonNull, SBuf, ErrorNode); in genReportNullAttrNonNull()
297 bugreporter::trackExpressionValue(ErrorNode, ArgE, *R); in genReportNullAttrNonNull()
304 const ExplodedNode *ErrorNode, const Expr *ArgE) const { in genReportReferenceToNullPointer() argument
309 *BTNullRefArg, "Forming reference to null pointer", ErrorNode); in genReportReferenceToNullPointer()
314 bugreporter::trackExpressionValue(ErrorNode, ArgEDeref, *R); in genReportReferenceToNullPointer()
H A DFuchsiaHandleChecker.cpp221 void reportBug(SymbolRef Sym, ExplodedNode *ErrorNode, CheckerContext &C,
648 void FuchsiaHandleChecker::reportBug(SymbolRef Sym, ExplodedNode *ErrorNode, in reportBug() argument
652 if (!ErrorNode) in reportBug()
657 const ExplodedNode *AcquireNode = getAcquireSite(ErrorNode, Sym, C); in reportBug()
665 Type, Msg, ErrorNode, LocUsedForUniqueing, in reportBug()
670 R = std::make_unique<PathSensitiveBugReport>(Type, Msg, ErrorNode); in reportBug()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DBugReporter.cpp138 const ExplodedNode *ErrorNode,
213 const ExplodedNode *const ErrorNode; member in __anon21c281ab0111::PathDiagnosticBuilder
228 PathSensitiveBugReport *r, const ExplodedNode *ErrorNode,
1969 const PathDiagnosticConsumer *PDC, const ExplodedNode *ErrorNode, in PathDiagnosticConstruct() argument
1971 : Consumer(PDC), CurrentNode(ErrorNode), in PathDiagnosticConstruct()
1974 LCM[&PD->getActivePath()] = ErrorNode->getLocationContext(); in PathDiagnosticConstruct()
1979 PathSensitiveBugReport *r, const ExplodedNode *ErrorNode, in PathDiagnosticBuilder() argument
1982 ErrorNode(ErrorNode), in PathDiagnosticBuilder()
1987 PathDiagnosticConstruct Construct(PDC, ErrorNode, R); in generate()
2003 auto EndNotes = VisitorsDiagnostics->find(ErrorNode); in generate()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DBugReporter.h300 const ExplodedNode *ErrorNode = nullptr;
404 const ExplodedNode *getErrorNode() const { return ErrorNode; } in getErrorNode()