10 #include "../ClangTidy.h" 11 #include "../ClangTidyModule.h" 12 #include "../ClangTidyModuleRegistry.h" 28 "objc-avoid-nserror-init");
30 "objc-avoid-spinlock");
32 "objc-forbidden-subclassing");
34 "objc-property-declaration");
39 static ClangTidyModuleRegistry::Add<ObjCModule>
X(
41 "Adds Objective-C lint checks.");
Finds Objective-C classes which have a superclass which is documented to not support subclassing...
void registerCheck(StringRef CheckName)
Registers the CheckType with the name Name.
A collection of ClangTidyCheckFactory instances.
Finds usages of OSSpinlock, which is deprecated due to potential livelock problems.
A clang-tidy module groups a number of ClangTidyChecks and gives them a prefixed name.
Finds usages of [NSSError init].
volatile int ObjCModuleAnchorSource
static clang::FrontendPluginRegistry::Add< clang::tidy::ClangTidyPluginAction > X("clang-tidy", "clang-tidy")
void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override
Implement this function in order to register all CheckFactories belonging to this module...