NoQ added inline comments.

================
Comment at: test/Analysis/use-after-move.cpp:239
     A a;
     for (int i = 0; i < bignum(); i++) { // expected-note {{Loop condition is 
false. Execution jumps to the end of the function}}
       rightRefCall(std::move(a));        // no-warning
----------------
Ugh. Why are these diagnostic pieces incorrect? We're not jumping to the end of 
the function yet. At the very least, we should evaluate the next `A a;`.


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

https://reviews.llvm.org/D55388



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to