[cfe-dev] Adding some modernize checks to default Clang-tidy configuration

Eugene Zelenko via cfe-dev cfe-dev at lists.llvm.org
Wed Nov 4 15:07:49 PST 2015


Hi!

I think will be good idea to add some modernize checks to default
Clang-tidy configuration for LLVM, Clang, LLD, Compiler-rt and Clang
extra tools. This will help to maintain code base compliant with
C++11.

Proposed checks are:

modernize-use-override
modernize-use-nullptr
modernize-redundant-void-arg
modernize-shrink-to-fit

I fixed that warnings in aforementioned packages, and only Compiler-rt
still have some because my patches were not merged yet.

Additional efforts are needed to fix other modernize checks warnings.

Eugene.



More information about the cfe-dev mailing list