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

Kirill Bobyrev via cfe-commits cfe-commits at lists.llvm.org
Sun Aug 7 12:52:25 PDT 2016


omtcyfz updated this revision to Diff 67102.
omtcyfz added a comment.

Added ternary operator example to docs.


https://reviews.llvm.org/D23243

Files:
  clang-tidy/modernize/UseBoolLiteralsCheck.cpp
  docs/clang-tidy/checks/modernize-use-bool-literals.rst
  test/clang-tidy/modernize-use-bool-literals.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23243.67102.patch
Type: text/x-patch
Size: 4485 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160807/d341c993/attachment.bin>


More information about the cfe-commits mailing list