Go to the documentation of this file.
9 #include "../ClangTidy.h"
10 #include "../ClangTidyModule.h"
11 #include "../ClangTidyModuleRegistry.h"
17 namespace portability {
23 "portability-restrict-system-includes");
25 "portability-simd-intrinsics");
30 static ClangTidyModuleRegistry::Add<PortabilityModule>
31 X(
"portability-module",
"Adds portability-related checks.");
A collection of ClangTidyCheckFactory instances.
volatile int PortabilityModuleAnchorSource
Checks for allowed includes and suggests removal of any others.
Find SIMD intrinsics calls and suggest std::experimental::simd alternatives.
static ClangTidyModuleRegistry::Add< PortabilityModule > X("portability-module", "Adds portability-related checks.")
void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override
Implement this function in order to register all CheckFactories belonging to this module.
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
A clang-tidy module groups a number of ClangTidyChecks and gives them a prefixed name.
void registerCheck(llvm::StringRef CheckName)
Registers the CheckType with the name Name.