llvm-project/clang-tools-extra/clang-tidy/objc
Ben Hamilton 52161a5abd add new check for property declaration
Summary:
This check finds property declarations in Objective-C files that do not follow the pattern of property names in Apple's programming guide. The property name should be in the format of Lower Camel Case or with some particular acronyms as prefix.

Example:
@property(nonatomic, assign) int lowerCamelCase;

@property(nonatomic, strong) NSString *URLString;

Test plan:  ninja check-clang-tools

Reviewers: benhamilton, hokein

Reviewed By: hokein

Subscribers: cfe-commits, mgorny

Differential Revision: https://reviews.llvm.org/D39829

llvm-svn: 318117
2017-11-13 23:54:31 +00:00
..
CMakeLists.txt add new check for property declaration 2017-11-13 23:54:31 +00:00
ForbiddenSubclassingCheck.cpp
ForbiddenSubclassingCheck.h
ObjCTidyModule.cpp add new check for property declaration 2017-11-13 23:54:31 +00:00
PropertyDeclarationCheck.cpp add new check for property declaration 2017-11-13 23:54:31 +00:00
PropertyDeclarationCheck.h add new check for property declaration 2017-11-13 23:54:31 +00:00