Additionally, this commit completely removes any uses of
FindLastStoreBRVisitor from the analyzer except for the
one in Tracker.
The next step is actually removing this class altogether
from the header file.
Paths
| Differential D103618
[analyzer] Change FindLastStoreBRVisitor to use Tracker ClosedPublic Authored by vsavchenko on Jun 3 2021, 7:40 AM.
Details Summary Additionally, this commit completely removes any uses of The next step is actually removing this class altogether
Diff Detail
Event TimelineHerald added subscribers: ASDenysPetrov, dkrupp, donat.nagy and 5 others. · View Herald TranscriptJun 3 2021, 7:40 AM vsavchenko added a parent revision: D103616: [analyzer] Reimplement trackExpressionValue as ExpressionHandler.Jun 3 2021, 7:40 AM Comment Actions This one is completely wrong though. Visitor can definitely outlive Tracker, unlike handlers. I need to use some reference-counting solution here. vsavchenko added a child revision: D103624: [analyzer] Hide and rename FindLastStoreBRVisitor.Jun 3 2021, 9:16 AM
This revision is now accepted and ready to land.Jun 10 2021, 11:45 PM This revision was landed with ongoing or failed builds.Jun 11 2021, 2:52 AM Closed by commit rGb6bcf953220d: [analyzer] Change FindLastStoreBRVisitor to use Tracker (authored by vsavchenko). · Explain Why This revision was automatically updated to reflect the committed changes.
Comment Actions I know I'm late to the party, and am just mostly thinking aloud. Awesome patch series!
Revision Contents
Diff 351379 clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h
clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp
clang/lib/StaticAnalyzer/Checkers/UndefCapturedBlockVarChecker.cpp
clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
|
Why is this a parent tracker? Could visitors have their own child trackers?