Home
last modified time | relevance | path

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

/llvm-project/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DBugReporter.h370 const ExplodedNode *errorNode) in PathSensitiveBugReport() argument
371 : PathSensitiveBugReport(bt, desc, desc, errorNode) {} in PathSensitiveBugReport()
374 const ExplodedNode *errorNode) in PathSensitiveBugReport() argument
375 : PathSensitiveBugReport(bt, shortDesc, desc, errorNode, in PathSensitiveBugReport()
387 const ExplodedNode *errorNode, in PathSensitiveBugReport() argument
390 : PathSensitiveBugReport(bt, desc, desc, errorNode, LocationToUnique, in PathSensitiveBugReport()
394 const ExplodedNode *errorNode,
/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DNonNullParamChecker.cpp182 if (ExplodedNode *errorNode = C.generateErrorNode(stateNull)) { in checkPreCall() local
186 R = genReportNullAttrNonNull(errorNode, ArgE, idx + 1); in checkPreCall()
188 R = genReportReferenceToNullPointer(errorNode, ArgE); in checkPreCall()
H A DCastSizeChecker.cpp133 if (ExplodedNode *errorNode = C.generateErrorNode()) { in checkPreStmt() local
137 auto R = std::make_unique<PathSensitiveBugReport>(BT, Msg, errorNode); in checkPreStmt()
H A DBasicObjCFoundationChecks.cpp752 std::optional<ExplodedNode *> errorNode; in checkPreObjCMessage() local
776 if (!errorNode) in checkPreObjCMessage()
777 errorNode = C.generateNonFatalErrorNode(); in checkPreObjCMessage()
779 if (!*errorNode) in checkPreObjCMessage()
797 std::make_unique<PathSensitiveBugReport>(*BT, os.str(), *errorNode); in checkPreObjCMessage()
/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporter.cpp2141 const ExplodedNode *errorNode, PathDiagnosticLocation LocationToUnique, in isHidden()
2143 : BugReport(Kind::PathSensitive, bt, shortDesc, desc), ErrorNode(errorNode), in PathSensitiveBugReport()
3049 const ExplodedNode *errorNode = R->getErrorNode(); in findReportInEquivalenceClass()
3050 if (errorNode->isSink()) { in findReportInEquivalenceClass()
3055 if (errorNode->succ_empty()) { in findReportInEquivalenceClass()
3066 if (const CFGBlock *ErrorB = errorNode->getCFGBlock()) in findReportInEquivalenceClass()
3078 WL.push_back(errorNode); in findReportInEquivalenceClass()
3079 Visited[errorNode] = 1; in findReportInEquivalenceClass()
2145 PathSensitiveBugReport(const BugType & bt,StringRef shortDesc,StringRef desc,const ExplodedNode * errorNode,PathDiagnosticLocation LocationToUnique,const Decl * DeclToUnique) PathSensitiveBugReport() argument
3028 const ExplodedNode *errorNode = R->getErrorNode(); findReportInEquivalenceClass() local