[PATCH] D23243: [clang-tidy] enhance modernize-use-bool-literals to check ternary operator

Alexander Kornienko via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 8 08:52:59 PDT 2016


alexfh requested changes to this revision.
This revision now requires changes to proceed.

================
Comment at: clang-tidy/modernize/UseBoolLiteralsCheck.cpp:39
@@ +38,3 @@
+          eachOf(
+              // anyOf() is not evaluating second argument if first is evaluated
+              // as
----------------
Remove `anyOf` and `anything`. And the comment.


https://reviews.llvm.org/D23243





More information about the cfe-commits mailing list