[PATCH] D43120: [clang-tidy] New checker for exceptions that are created but not thrown
Eugene Zelenko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 9 10:12:35 PST 2018
Eugene.Zelenko added inline comments.
================
Comment at: clang-tidy/misc/ThrowKeywordMissingCheck.cpp:24
+
+ auto CtorInitializerList =
+ cxxConstructorDecl(hasAnyConstructorInitializer(anything()));
----------------
Please don't use auto where type could not be easily deduced.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D43120
More information about the cfe-commits
mailing list