[PATCH] D103618: [analyzer] Change FindLastStoreBRVisitor to use Tracker
    Artem Dergachev via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Wed Jun  9 21:55:24 PDT 2021
    
    
  
NoQ added inline comments.
================
Comment at: clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp:2274
+                                   const StackFrameContext *Origin) {
+  Tracker::create(Report)->track(V, R, Opts, Origin);
+}
----------------
How does lifetime work here? Do I understand correctly that the tracker is only kept alive by the `FindLastStoreBRVisitor` instance, even after its completion?
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D103618/new/
https://reviews.llvm.org/D103618
    
    
More information about the cfe-commits
mailing list