[PATCH] D16535: [clang-tidy] Check to find unintended semicolons that changes the semantics.

Haojian Wu via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 9 09:01:23 PST 2016


hokein added inline comments.

================
Comment at: docs/clang-tidy/checks/misc-suspicious-semicolon.rst:35
@@ +34,3 @@
+
+    if(x >= y);
+    x -= y;
----------------
The doc needs to be updated.

With your latest patch, this is also a warning case.


http://reviews.llvm.org/D16535





More information about the cfe-commits mailing list