Go to the documentation of this file.
9 #include "../ClangTidy.h"
10 #include "../ClangTidyModule.h"
11 #include "../ClangTidyModuleRegistry.h"
23 "darwin-avoid-spinlock");
25 "darwin-dispatch-once-nonstatic");
32 static ClangTidyModuleRegistry::Add<darwin::DarwinModule>
33 X(
"darwin-module",
"Adds Darwin-specific lint checks.");
Finds variables of type dispatch_once_t that do not have static or global storage duration,...
A collection of ClangTidyCheckFactory instances.
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.
volatile int DarwinModuleAnchorSource
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
static ClangTidyModuleRegistry::Add< altera::AlteraModule > X("altera-module", "Adds Altera FPGA OpenCL lint checks.")
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.