[PATCH] D74541: [Analyzer] Use note tags to track iterator increments and decrements

Balogh, Ádám via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 25 10:48:07 PDT 2020


baloghadamsoftware marked 4 inline comments as done.
baloghadamsoftware added inline comments.


================
Comment at: clang/test/Analysis/iterator-modelling.cpp:434
+  //expected-note at -1 0-1{{Calling 'next}}
+  //expected-note at -2 0-1{{Passing the value 1 via 2nd parameter 'n'}}
+  //expected-note at Inputs/system-header-simulator-cxx.h:814 0-1{{Iterator 'it' incremented by 1}}
----------------
Strange, that we do not get this note for `prev`.


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

https://reviews.llvm.org/D74541





More information about the cfe-commits mailing list