[PATCH] D20170: [clang-tidy] TypeTraits - Type is not expensive to copy when it has a deleted copy constructor.
Etienne Bergeron via cfe-commits
cfe-commits at lists.llvm.org
Thu May 12 21:53:18 PDT 2016
etienneb added inline comments.
================
Comment at: clang-tidy/utils/TypeTraits.cpp:42
@@ -27,3 +41,3 @@
llvm::Optional<bool> isExpensiveToCopy(QualType Type, ASTContext &Context) {
if (Type->isDependentType())
----------------
You're right too.
But, it's possible to fix these prototypes:
http://reviews.llvm.org/D20226
http://reviews.llvm.org/D20170
More information about the cfe-commits
mailing list