[PATCH] D16308: clang-tidy Enhance readability-simplify-boolean-expr check to handle implicit conversions of integral types to bool and member pointers

Richard via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 9 18:42:18 PST 2016


LegalizeAdulthood updated this revision to Diff 47414.
LegalizeAdulthood added a comment.

Fixes StringRef problem that crashes tests in release builds only.


http://reviews.llvm.org/D16308

Files:
  clang-tidy/readability/SimplifyBooleanExprCheck.cpp
  clang-tidy/readability/SimplifyBooleanExprCheck.h
  docs/clang-tidy/checks/readability-simplify-boolean-expr.rst
  test/clang-tidy/readability-simplify-bool-expr.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16308.47414.patch
Type: text/x-patch
Size: 25122 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160210/172f26a9/attachment-0001.bin>


More information about the cfe-commits mailing list