Home
last modified time | relevance | path

Searched refs:addVisitor (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCXXDeleteChecker.cpp136 R->addVisitor<PtrCastVisitor>(); in checkTypedDeleteExpr()
179 R->addVisitor<PtrCastVisitor>(); in checkTypedDeleteExpr()
H A DValistChecker.cpp259 R->addVisitor(std::make_unique<ValistBugVisitor>(VAList)); in reportUninitializedAccess()
302 R->addVisitor(std::make_unique<ValistBugVisitor>(Reg, true)); in reportLeakedVALists()
H A DObjCSuperDeallocChecker.cpp195 BR->addVisitor(std::make_unique<SuperDeallocBRVisitor>(Sym)); in reportUseAfterDealloc()
H A DMallocChecker.cpp2382 R->addVisitor<MallocBugVisitor>(Sym); in HandleMismatchedDealloc()
2475 R->addVisitor<MallocBugVisitor>(Sym); in HandleUseAfterFree()
2478 R->addVisitor(allocation_state::getInnerPointerBRVisitor(Sym)); in HandleUseAfterFree()
2511 R->addVisitor<MallocBugVisitor>(Sym); in HandleDoubleFree()
2537 R->addVisitor<MallocBugVisitor>(Sym); in HandleDoubleDelete()
2568 R->addVisitor<MallocBugVisitor>(Sym); in HandleUseZeroAlloc()
2839 R->addVisitor<MallocBugVisitor>(Sym, true); in HandleLeak()
2841 R->addVisitor<NoMemOwnershipChangeVisitor>(Sym, this); in HandleLeak()
H A DMoveChecker.cpp432 R->addVisitor(std::make_unique<MovedBugVisitor>(*this, Region, RD, MK)); in tryToReportBug()
H A DNullabilityChecker.cpp179 R->addVisitor<NullabilityBugVisitor>(Region); in reportBug()
H A DLocalizationChecker.cpp771 R->addVisitor(std::make_unique<NonLocalizedStringBRVisitor>(StringRegion)); in reportLocalizationError()
H A DStreamChecker.cpp1967 R->addVisitor<NoStreamStateChangeVisitor>(LeakSym, this); in reportLeaks()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DBugReporter.h495 void addVisitor(std::unique_ptr<BugReporterVisitor> visitor);
498 void addVisitor(Args &&... ConstructorArgs) { in addVisitor() function
499 addVisitor( in addVisitor()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp945 BR.addVisitor<MacroNullReturnSuppressionVisitor>(R->getAs<SubRegion>(), in addMacroVisitorIfNecessary()
2291 Report.addVisitor<TrackControlDependencyCondBRVisitor>( in handle()
2373 Report.addVisitor<NoStoreFuncVisitor>(cast<SubRegion>(R), Opts.Kind); in handle()
2384 Report.addVisitor<UndefOrNullArgVisitor>(R); in handle()
2390 Report.addVisitor<TrackConstraintBRVisitor>( in handle()
2403 Report.addVisitor<SuppressInlineDefensiveChecksVisitor>(*DV, in handle()
2497 Report.addVisitor<ReturnVisitor>(&getParentTracker(), CalleeContext, in handle()
2543 Report.addVisitor<UndefOrNullArgVisitor>(L->getRegion()); in handle()
2554 Report.addVisitor<TrackConstraintBRVisitor>( in handle()
2671 Report.addVisitor<StoreSiteFinder>(this, V, R, Opts, Origin); in track()
H A DBugReporter.cpp2169 void PathSensitiveBugReport::addVisitor( in addVisitor() function in PathSensitiveBugReport
2859 R->addVisitor<LikelyFalsePositiveSuppressionBRVisitor>(); in findValidReport()
2862 R->addVisitor<NilReceiverBRVisitor>(); in findValidReport()
2863 R->addVisitor<ConditionBRVisitor>(); in findValidReport()
2864 R->addVisitor<TagVisitor>(); in findValidReport()
2878 R->addVisitor<Z3CrosscheckVisitor>(CrosscheckResult, in findValidReport()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountDiagnostics.cpp842 addVisitor<RefCountReportVisitor>(sym); in RefCountReport()
850 addVisitor<RefCountReportVisitor>(sym); in RefCountReport()
1000 addVisitor<RefLeakReportVisitor>(Sym, AllocBindingToReport); in RefLeakReport()