[PATCH] D16700: [Clang-tidy] Make null pointer literals for fixes configurable for two checks
Eugene Zelenko via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 28 17:16:54 PST 2016
Eugene.Zelenko created this revision.
Eugene.Zelenko added reviewers: alexfh, LegalizeAdulthood, piotrdz, aaron.ballman.
Eugene.Zelenko added a subscriber: cfe-commits.
Eugene.Zelenko set the repository for this revision to rL LLVM.
This is fix for PR26295. I added configuration option to readability-implicit-bool-cast and readability-simplify-boolean-expr.
Build and regressions were OK on RHEL6.
I think one global option will better then per-check ones, but I'm not aware of examples.
Repository:
rL LLVM
http://reviews.llvm.org/D16700
Files:
clang-tidy/readability/ImplicitBoolCastCheck.cpp
clang-tidy/readability/ImplicitBoolCastCheck.h
clang-tidy/readability/SimplifyBooleanExprCheck.cpp
clang-tidy/readability/SimplifyBooleanExprCheck.h
docs/clang-tidy/checks/readability-implicit-bool-cast.rst
docs/clang-tidy/checks/readability-simplify-boolean-expr.rst
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16700.46327.patch
Type: text/x-patch
Size: 11257 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160129/86b885f5/attachment-0001.bin>
More information about the cfe-commits
mailing list