[PATCH] D27621: [clang-tidy] check to find declarations declaring more than one name

Eugene Zelenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 9 10:26:03 PST 2016


Eugene.Zelenko added inline comments.


================
Comment at: clang-tidy/readability/OneNamePerDeclarationCheck.cpp:47
+    // Single declarations and macros will be ignored
+    if (DeclStmt->isSingleDecl() == false &&
+        DeclStmt->getLocStart().isMacroID() == false) {
----------------
Please run Clang-tidy readability-simplify-boolean-expr. Will be good idea to run other readability and modernize checks too.


https://reviews.llvm.org/D27621





More information about the cfe-commits mailing list