9 #include "../ClangTidy.h" 10 #include "../ClangTidyModule.h" 11 #include "../ClangTidyModuleRegistry.h" 28 "objc-avoid-nserror-init");
30 "objc-forbidden-subclassing");
34 "objc-property-declaration");
41 static ClangTidyModuleRegistry::Add<ObjCModule>
X(
43 "Adds Objective-C lint checks.");
Finds Objective-C classes which have a superclass which is documented to not support subclassing...
static ClangTidyModuleRegistry::Add< ObjCModule > X("objc-module", "Adds Objective-C lint checks.")
void registerCheck(StringRef CheckName)
Registers the CheckType with the name Name.
Finds Objective-C implementations that implement -isEqual: without also appropriately implementing -h...
A collection of ClangTidyCheckFactory instances.
A clang-tidy module groups a number of ClangTidyChecks and gives them a prefixed name.
Finds invocations of -self on super instances in initializers of subclasses of NSObject and recommend...
Finds usages of -[NSError init].
volatile int ObjCModuleAnchorSource
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override
Implement this function in order to register all CheckFactories belonging to this module...