[PATCH] D18961: Add a readability-deleted-default clang-tidy check.

Alex Pilkiewicz via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 13 02:59:29 PDT 2016


pilki added inline comments.

================
Comment at:  clang-tidy/readability/DeletedDefaultCheck.cpp:37
@@ +36,3 @@
+
+void DeletedDefaultCheck::check(const MatchFinder::MatchResult &Result) {
+  const StringRef Message = "%0 is explicitly defaulted but implicitly "
----------------
alexfh wrote:
> Will it be less confusing to you, if you change "assignment" to something more generic, e.g. "method" or "decl"?
> 
> Also, if you find it less readable that way, we can leave it as is for now.
I implemented the requested changes


http://reviews.llvm.org/D18961





More information about the cfe-commits mailing list