This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] readability-implicit-bool-cast forgets to store its options.
ClosedPublic

Authored by hokein on Aug 16 2016, 3:01 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

hokein updated this revision to Diff 68150.Aug 16 2016, 3:01 AM
hokein retitled this revision from to [clang-tidy] readability-implicit-bool-cast forgets to store its options..
hokein updated this object.
hokein added a reviewer: alexfh.
hokein added a subscriber: cfe-commits.
alexfh accepted this revision.Aug 16 2016, 3:09 AM
alexfh edited edge metadata.

LG

This revision is now accepted and ready to land.Aug 16 2016, 3:09 AM
alexfh added inline comments.Aug 16 2016, 3:11 AM
clang-tidy/readability/ImplicitBoolCastCheck.h
25 ↗(On Diff #68150)

BTW, could you move the constructor body to the .cpp file? It's more convenient, when both reading and storing options are placed together.

hokein updated this revision to Diff 68154.Aug 16 2016, 3:48 AM
hokein edited edge metadata.

Move ctor body to .cpp file.

This revision was automatically updated to reflect the committed changes.