mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-21 14:40:48 +08:00
clang-tidy module: add check for boolean parameters
Co-Authored-by: Kyle Edwards <kyle.edwards@kitware.com>
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#include <clang-tidy/ClangTidyModule.h>
|
||||
#include <clang-tidy/ClangTidyModuleRegistry.h>
|
||||
|
||||
#include "UseBespokeEnumClassCheck.h"
|
||||
#include "UseCmstrlenCheck.h"
|
||||
#include "UseCmsysFstreamCheck.h"
|
||||
|
||||
@@ -17,6 +18,8 @@ public:
|
||||
CheckFactories.registerCheck<UseCmstrlenCheck>("cmake-use-cmstrlen");
|
||||
CheckFactories.registerCheck<UseCmsysFstreamCheck>(
|
||||
"cmake-use-cmsys-fstream");
|
||||
CheckFactories.registerCheck<UseBespokeEnumClassCheck>(
|
||||
"cmake-use-bespoke-enum-class");
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user