[PATCH] D16535: [clang-tidy] Check to find unintended semicolons that changes the semantics.
Gábor Horváth via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 10 05:18:40 PST 2016
xazax.hun added inline comments.
================
Comment at: docs/clang-tidy/checks/misc-suspicious-semicolon.rst:35
@@ +34,3 @@
+
+ if(x >= y);
+ x -= y;
----------------
hokein wrote:
> The doc needs to be updated.
>
> With your latest patch, this is also a warning case.
The documentation implies that this is a warning case but I will make it clearer to be less confusing.
http://reviews.llvm.org/D16535
More information about the cfe-commits
mailing list