[PATCH] D21059: [clang-tidy] Ignore the deleted function in misc-definitions-in-headers.

Alexander Kornienko via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 7 01:48:27 PDT 2016


alexfh accepted this revision.
alexfh added a comment.
This revision is now accepted and ready to land.

LG with one comment.


================
Comment at: test/clang-tidy/misc-definitions-in-headers-cxx11.hpp:6
@@ +5,3 @@
+
+int f() = delete;
+// CHECK-NOT: [misc-definitions-in-headers]
----------------
Just add this to the existing test file, the testing script uses -std=c++11 by default.


http://reviews.llvm.org/D21059





More information about the cfe-commits mailing list