Szelethus added a comment. Can you add tests for that just in case? :)
================ Comment at: test/Analysis/use-after-move.cpp:331 for (int i = 0; i < bignum(); i++) { // expected-note {{Loop condition is true. Entering loop body}} expected-note {{Loop condition is true. Entering loop body}} constCopyOrMoveCall(std::move(a)); // expected-warning {{Moved-from object is moved 'a'}} expected-note {{Moved-from object is moved 'a'}} // expected-note@-1 {{'a' is moved}} ---------------- >Because `list2` is passed by non-const reference (eg., rvalue reference) into >an unknown function, it will be invalidated when the call is modeled >conservatively, and therefore we will stop tracking it in the >`checkRegionChanges` callback. Hmmm. Doesn't this check something similar, but still cause an warning? CHANGES SINCE LAST ACTION https://reviews.llvm.org/D54563/new/ https://reviews.llvm.org/D54563 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits