[PATCH] D13871: Add modernize-use-default check to clang-tidy.

George Burgess IV via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 19 18:28:40 PDT 2015


george.burgess.iv added a subscriber: george.burgess.iv.
george.burgess.iv added a comment.

This looks like a good check -- thanks for adding it! Just one small nit for you.


================
Comment at: clang-tidy/modernize/UseDefaultCheck.cpp:19
@@ +18,3 @@
+
+const char CtorDtor[] = "CtorDtorDecl";
+
----------------
I don't see where this is used outside of UseDefaultCheck.cpp. Can we make it static?


http://reviews.llvm.org/D13871





More information about the cfe-commits mailing list