[clang-tidy][NFC] Remove ModernizeTidyModule::getModuleOptions
authorCarlos Galvez <carlosgalvezp@gmail.com>
Sun, 12 Feb 2023 10:58:37 +0000 (10:58 +0000)
committerCarlos Galvez <carlosgalvezp@gmail.com>
Wed, 15 Feb 2023 10:38:36 +0000 (10:38 +0000)
commit45ddc157ca7c464ebbea627da0f682b1554e2390
tree38a3df8786bbd1e1e8c68614ac5373d761f011e0
parentc7f9344d0f8f6a00adab138037e2e7b406ef2b69
[clang-tidy][NFC] Remove ModernizeTidyModule::getModuleOptions

Most of the options stated there are duplicated already in
the implementation of each check as a default value for
each option.

The only place where this is not the case is the nullptr
check. Move the default option there instead. Only the
HICPP guidelines alias this modernize check, and there is
nothing in the documentation that suggests it should have
a different default value than the main modernize check.

Differential Revision: https://reviews.llvm.org/D143843
clang-tools-extra/clang-tidy/modernize/ModernizeTidyModule.cpp
clang-tools-extra/clang-tidy/modernize/UseNullptrCheck.cpp