[PATCH] D11784: [PATCH] clang-tidy check for incorrect move constructor initializers

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 20 08:34:17 PDT 2015


aaron.ballman added inline comments.

================
Comment at: test/clang-tidy/misc-move-constructor-init.cpp:65
@@ +64,3 @@
+struct K {}; // Has implicit copy and move constructors
+struct L : K {
+  // CHECK: :[[@LINE+1]]:16: warning: move constructor initializes base class by calling a copy constructor [misc-move-constructor-init]
----------------
alexfh wrote:
> Please try to use the python script from http://reviews.llvm.org/D12180.
Unfortunately, that script does not work for me on Windows yet. I am happy to switch the test over to using the new script, even if it's a follow-up commit, whenever the new script has landed (I don't think it should block this patch).


http://reviews.llvm.org/D11784





More information about the cfe-commits mailing list