Home
last modified time | relevance | path

Searched refs:ErrorNode (Results 1 – 9 of 9) 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()
76 ExplodedNode *ErrorNode{nullptr}; in checkUnmatchedWaits() local
83 if (!ErrorNode) { in checkUnmatchedWaits()
84 ErrorNode = Ctx.generateNonFatalErrorNode(State); in checkUnmatchedWaits()
85 State = ErrorNode->getState(); in checkUnmatchedWaits()
88 BReporter.reportUnmatchedWait(PreCallEvent, ReqRegion, ErrorNode, in checkUnmatchedWaits()
93 if (!ErrorNode) { in checkUnmatchedWaits()
96 Ctx.addTransition(State, ErrorNode); in checkUnmatchedWaits()
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DNonNullParamChecker.cpp279 NonNullParamChecker::genReportNullAttrNonNull(const ExplodedNode *ErrorNode, in genReportNullAttrNonNull() argument
289 std::make_unique<PathSensitiveBugReport>(BTAttrNonNull, SBuf, ErrorNode); in genReportNullAttrNonNull()
291 bugreporter::trackExpressionValue(ErrorNode, ArgE, *R); in genReportNullAttrNonNull()
298 const ExplodedNode *ErrorNode, const Expr *ArgE) const { in genReportReferenceToNullPointer() argument
300 BTNullRefArg, "Forming reference to null pointer", ErrorNode); in genReportReferenceToNullPointer()
305 bugreporter::trackExpressionValue(ErrorNode, ArgEDeref, *R); in genReportReferenceToNullPointer()
H A DArrayBoundChecker.cpp748 ExplodedNode *ErrorNode = C.generateErrorNode(ErrorState); in reportOOB() local
749 if (!ErrorNode) in reportOOB()
753 IsTaintBug ? TaintBT : BT, Msgs.Short, Msgs.Full, ErrorNode); in reportOOB()
/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/Core/
H A DBugReporter.cpp143 const ExplodedNode *ErrorNode,
222 const ExplodedNode *const ErrorNode; member in __anon2f4a13600111::PathDiagnosticBuilder
237 PathSensitiveBugReport *r, const ExplodedNode *ErrorNode,
2007 const PathDiagnosticConsumer *PDC, const ExplodedNode *ErrorNode, in PathDiagnosticConstruct() argument
2009 : Consumer(PDC), CurrentNode(ErrorNode), in PathDiagnosticConstruct()
2013 LCM[&PD->getActivePath()] = ErrorNode->getLocationContext(); in PathDiagnosticConstruct()
2018 PathSensitiveBugReport *r, const ExplodedNode *ErrorNode, in PathDiagnosticBuilder() argument
2021 ErrorNode(ErrorNode), in PathDiagnosticBuilder()
2027 PathDiagnosticConstruct Construct(PDC, ErrorNode, R, EntryPoint); in generate()
2036 auto EndNotes = VisitorsDiagnostics->find(ErrorNode); in generate()
[all …]
/freebsd/contrib/llvm-project/lldb/source/ValueObject/
H A DDILParser.cpp140 return std::make_unique<ErrorNode>(); in ParsePostfixExpression()
149 return std::make_unique<ErrorNode>(); in ParsePostfixExpression()
206 return std::make_unique<ErrorNode>(); in ParsePrimaryExpression()
H A DDILAST.cpp14 llvm::Expected<lldb::ValueObjectSP> ErrorNode::Accept(Visitor *v) const { in Accept()
/freebsd/contrib/llvm-project/lldb/include/lldb/ValueObject/
H A DDILAST.h67 class ErrorNode : public ASTNode {
69 ErrorNode() : ASTNode(0, NodeKind::eErrorNode) {} in ErrorNode() function
/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()