23 "darwin-dispatch-once-nonstatic");
30static ClangTidyModuleRegistry::Add<darwin::DarwinModule>
31 X(
"darwin-module",
"Adds Darwin-specific lint 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.
Finds usages of OSSpinlock, which is deprecated due to potential livelock problems.
void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override
Implement this function in order to register all CheckFactories belonging to this module.
Finds variables of type dispatch_once_t that do not have static or global storage duration,...
volatile int DarwinModuleAnchorSource
static ClangTidyModuleRegistry::Add< altera::AlteraModule > X("altera-module", "Adds Altera FPGA OpenCL lint checks.")