arphaman added inline comments.

================
Comment at: test/SemaCXX/uninitialized.cpp:1437
   } else {
-    [fname]{};
+    [fname] { (void)fname; }; // expected-warning {{lambda capture 'fname' is 
not used}}
   }
----------------
I think that expected-warning shouldn't be used here as you have `(void)fname` 
in the lambda (I don't get this warning if I test this locally).


https://reviews.llvm.org/D28467



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

Reply via email to