9#include "../ClangTidy.h"
10#include "../ClangTidyModule.h"
11#include "../ClangTidyModuleRegistry.h"
17namespace portability {
23 "portability-restrict-system-includes");
25 "portability-simd-intrinsics");
27 "portability-std-allocator-const");
32static ClangTidyModuleRegistry::Add<PortabilityModule>
33 X(
"portability-module",
"Adds portability-related checks.");
A collection of ClangTidyCheckFactory instances.
void registerCheck(llvm::StringRef CheckName)
Registers the CheckType with the name Name.
A clang-tidy module groups a number of ClangTidyChecks and gives them a prefixed name.
void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override
Implement this function in order to register all CheckFactories belonging to this module.
Checks for allowed includes and suggests removal of any others.
Find SIMD intrinsics calls and suggest std::experimental::simd alternatives.
Report use of std::vector<const T> (and similar containers of const elements).
volatile int PortabilityModuleAnchorSource