[PATCH] D14096: [clang-tidy] add new check cppcoreguidelines-pro-type-cstyle-cast

Alexander Kornienko via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 5 14:20:46 PST 2015


alexfh added a subscriber: alexfh.
alexfh added a comment.

A peanut gallery comment.


================
Comment at: clang-tidy/cppcoreguidelines/ProTypeCstyleCastCheck.cpp:91
@@ +90,3 @@
+      diag_builder << FixItHint::CreateReplacement(ParenRange, CastText);
+    } else
+      diag(
----------------
Please add braces around the `else` body.


http://reviews.llvm.org/D14096





More information about the cfe-commits mailing list