clang-tools  14.0.0git
Classes | Functions
clang::tidy::objc Namespace Reference


class  AssertEquals
 Warn if XCTAssertEqual() or XCTAssertNotEqual() is used with at least one operands of type NSString*. More...
class  AvoidNSErrorInitCheck
 Finds usages of -[NSError init]. More...
class  DeallocInCategoryCheck
 Finds implementations of -dealloc in Objective-C categories. More...
class  ForbiddenSubclassingCheck
 Finds Objective-C classes which have a superclass which is documented to not support subclassing. More...
class  MissingHashCheck
 Finds Objective-C implementations that implement -isEqual: without also appropriately implementing -hash. More...
class  NSInvocationArgumentLifetimeCheck
 Finds calls to NSInvocation methods under ARC that don't have proper argument object lifetimes. More...
class  ObjCModule
class  PropertyDeclarationCheck
class  SuperSelfCheck
 Finds invocations of -self on super instances in initializers of subclasses of NSObject and recommends calling a superclass initializer instead. More...


static const std::map< std::string, std::string > & NameMap ()
static ClangTidyModuleRegistry::Add< ObjCModuleX ("objc-module", "Adds Objective-C lint checks.")

Function Documentation

◆ NameMap()

static const std::map<std::string, std::string>& clang::tidy::objc::NameMap ( )

◆ X()

static ClangTidyModuleRegistry::Add<ObjCModule> clang::tidy::objc::X ( "objc-module"  ,
"Adds Objective-C lint checks."