[PATCH] D13071: [PATCH] New checker for mismatched operator new/operator delete definitions
Alexander Kornienko via cfe-commits
cfe-commits at lists.llvm.org
Sat Sep 26 17:43:16 PDT 2015
alexfh added a comment.
Please add a documentation file.
================
Comment at: clang-tidy/misc/NewDeleteOverloadsCheck.cpp:42
@@ +41,3 @@
+ return Node.getNumParams() > 1;
+ else if (Node.getNumParams() == 1)
+ return false;
----------------
Please no `else` after `return`.
http://reviews.llvm.org/D13071
More information about the cfe-commits
mailing list