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...
void registerCheck(StringRef CheckName)
Registers the CheckType with the name Name.
Finds usages of OSSpinlock, which is deprecated due to potential livelock problems.
A collection of ClangTidyCheckFactory instances.
A clang-tidy module groups a number of ClangTidyChecks and gives them a prefixed name.
static ClangTidyModuleRegistry::Add< bugprone::BugproneModule > X("bugprone-module", "Adds checks for bugprone code constructs.")
volatile int DarwinModuleAnchorSource
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override
Implement this function in order to register all CheckFactories belonging to this module...