Home
last modified time | relevance | path

Searched refs:getBugType (Results 1 – 14 of 14) sorted by relevance

/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DSmartPtrModeling.cpp394 if (&BR.getBugType() != smartptr::getNullDereferenceBugType() || in evalCall()
411 if (&BR.getBugType() != smartptr::getNullDereferenceBugType() || in evalCall()
615 if (&BR.getBugType() != smartptr::getNullDereferenceBugType() || in handleReset()
651 if (&BR.getBugType() != smartptr::getNullDereferenceBugType() || in handleRelease()
693 if (&BR.getBugType() != smartptr::getNullDereferenceBugType()) in handleSwap()
756 if (&BR.getBugType() != smartptr::getNullDereferenceBugType() || in handleAssignOp()
795 if (&BR.getBugType() != smartptr::getNullDereferenceBugType()) in updateMovedSmartPointers()
820 if (&BR.getBugType() != smartptr::getNullDereferenceBugType() || in updateMovedSmartPointers()
H A DFuchsiaHandleChecker.cpp486 if (&BR.getBugType() != &UseAfterReleaseBugType && in checkPostCall()
487 &BR.getBugType() != &LeakBugType && in checkPostCall()
488 &BR.getBugType() != &DoubleReleaseBugType && in checkPostCall()
489 &BR.getBugType() != &ReleaseUnownedBugType) in checkPostCall()
H A DMIGChecker.cpp216 if (&BR.getBugType() != &BT) in checkPostCall()
H A DNullabilityChecker.cpp122 const std::unique_ptr<BugType> &getBugType(CheckKind Kind) const { in getBugType() function in __anon0e3a3a9c0111::NullabilityChecker
169 const std::unique_ptr<BugType> &BT = getBugType(CK); in reportBug()
H A DStreamChecker.cpp389 if (BR.isInteresting(StreamSym) && &BR.getBugType() == BT_ResourceLeak) in operator ()()
405 &BR.getBugType() != this->getBT_StreamEof()) in constructSetEofNoteTag()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountDiagnostics.h42 RefCountBugKind getBugType() const { return BT; } in getBugType() function
H A DRetainCountDiagnostics.cpp456 const auto &BT = static_cast<const RefCountBug&>(BR.getBugType()); in VisitNode()
458 bool IsFreeUnowned = BT.getBugType() == RefCountBug::FreeNotOwned || in VisitNode()
459 BT.getBugType() == RefCountBug::DeallocNotOwned; in VisitNode()
/llvm-project-15.0.7/clang/unittests/StaticAnalyzer/
H A DReusables.h118 EXPECT_EQ(Diag.getBugType(), BugType); in testEquality()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DPathDiagnostic.cpp360 if (X.getBugType() != Y.getBugType()) in compare()
361 return X.getBugType() < Y.getBugType(); in compare()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DPlistDiagnostics.cpp695 EmitString(o, D->getBugType()) << '\n'; in FlushDiagnosticsImpl()
707 EmitString(o, getIssueHash(L, D->getCheckerName(), D->getBugType(), in FlushDiagnosticsImpl()
H A DHTMLDiagnostics.cpp256 return getIssueHash(L, D.getCheckerName(), D.getBugType(), in getIssueHash()
645 StringRef BugType = D.getBugType(); in FinalizeHTML()
H A DBugReporter.cpp1327 const BugType &BT = R->getBugType(); in generateDiagnosticForBasicReport()
1338 const BugType &BT = R->getBugType(); in generateEmptyDiagnosticForReport()
2965 const BugType& BT = EQ.getReports()[0]->getBugType(); in findReportInEquivalenceClass()
3072 if (report->getBugType().getCheckerName().startswith( in FlushReport()
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DBugReporter.h149 const BugType& getBugType() const { return BT; } in getBugType() function
/llvm-project-15.0.7/clang/include/clang/Analysis/
H A DPathDiagnostic.h838 StringRef getBugType() const { return BugType; } in getBugType() function