[PATCH] clang-tidy explicit constructor check: don't warn on copy or move constructors.
Manuel Klimek
klimek at google.com
Wed Mar 19 12:58:39 PDT 2014
================
Comment at: clang-tidy/google/GoogleTidyModule.cpp:37
@@ -36,3 +36,3 @@
if (Ctor->isOutOfLine() || Ctor->isExplicit() || Ctor->isImplicit() ||
- Ctor->isDeleted())
+ Ctor->isCopyOrMoveConstructor())
return;
----------------
And why do we want to warn on deleted constructors?
http://llvm-reviews.chandlerc.com/D3122
More information about the cfe-commits
mailing list