malcolm.parsons added a subscriber: malcolm.parsons. ================ Comment at: clang-tidy/cppcoreguidelines/OneNamePerDeclarationCheck.cpp:30 @@ +29,3 @@ + Finder->addMatcher( + declStmt(declCountIsGreaterThan(1)).bind("multipleNameDeclaration"), + this); ---------------- Can declCountIsGreaterThan(1) be written as unless(declCountIs(1))?
https://reviews.llvm.org/D25024 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits