[PATCH] D45601: Warn on bool* to bool conversion

Roman Lebedev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 13 04:50:17 PDT 2018


lebedev.ri added inline comments.


================
Comment at: include/clang/Basic/DiagnosticSemaKinds.td:7806
+  "comparing %0 as a boolean">,
+  InGroup<Extra>;
 def warn_format_argument_needs_cast : Warning<
----------------
Also, this really really should be under it's own flag, which in turn may be under `Extra`.


https://reviews.llvm.org/D45601





More information about the cfe-commits mailing list