[PATCH] D75514: [Analyzer] Only add container note tags to the operations of the affected container

Balogh, Ádám via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 12 05:13:57 PDT 2020


baloghadamsoftware marked 3 inline comments as done.
baloghadamsoftware added a comment.

In D75514#1917450 <https://reviews.llvm.org/D75514#1917450>, @Szelethus wrote:

> The code from in `ExprInspectionChecker.cpp` is duplicated from D75677 <https://reviews.llvm.org/D75677>, isn't it?


It is. The one accepted earlier will be committed earlier, then I will rebase the other one so this part disappears from that one.



================
Comment at: clang/test/Analysis/container-modeling.cpp:100-101
 
-  V.emplace_back(n); // expected-note 2{{Container 'V' extended to the right by 1 position}}
+  V.emplace_back(n); // expected-note{{Container 'V' extended to the right by 1 position}}
+                     // expected-note at -1{{Container 'V' extended to the right by 1 position}}
 
----------------
Szelethus wrote:
> Why did we unpack this? And the rest?
We did not unpack this but forgot to pack it.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75514/new/

https://reviews.llvm.org/D75514





More information about the cfe-commits mailing list