summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-tidy/objc-property-declaration.m
diff options
context:
space:
mode:
authorYan Zhang <ynzhang@google.com>2018-02-06 21:40:38 +0000
committerYan Zhang <ynzhang@google.com>2018-02-06 21:40:38 +0000
commitae5bc5aeeab0cd9d95bcd2d24c26852a0fdcce5f (patch)
treee8252204f0a6980964a4bbb369ab9fe0fc2165d7 /clang-tools-extra/test/clang-tidy/objc-property-declaration.m
parentf3fb98365d6b2ac8fe0e10799acf1a111ca37f6f (diff)
downloadbcm5719-llvm-ae5bc5aeeab0cd9d95bcd2d24c26852a0fdcce5f.tar.gz
bcm5719-llvm-ae5bc5aeeab0cd9d95bcd2d24c26852a0fdcce5f.zip
Support special acronyms inside property names and allow plural forms
Reviewers: benhamilton, hokein Reviewed By: benhamilton, hokein Subscribers: klimek, cfe-commits Differential Revision: https://reviews.llvm.org/D42947 llvm-svn: 324407
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/objc-property-declaration.m')
-rw-r--r--clang-tools-extra/test/clang-tidy/objc-property-declaration.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang-tools-extra/test/clang-tidy/objc-property-declaration.m b/clang-tools-extra/test/clang-tidy/objc-property-declaration.m
index 524be7c208f..0eb618880db 100644
--- a/clang-tools-extra/test/clang-tidy/objc-property-declaration.m
+++ b/clang-tools-extra/test/clang-tidy/objc-property-declaration.m
@@ -14,6 +14,9 @@
@property(strong, nonatomic) UIViewController *notificationsVC;
@property(strong, nonatomic) NSString *URL_string;
// CHECK-MESSAGES: :[[@LINE-1]]:40: warning: property name 'URL_string' not using lowerCamelCase style or not prefixed in a category, according to the Apple Coding Guidelines [objc-property-declaration]
+@property(strong, nonatomic) NSString *supportURLsCamelCase;
+@property(strong, nonatomic) NSString *supportURLCamelCase;
+@property(strong, nonatomic) NSString *VCsPluralToAdd;
@end
@interface Foo (Bar)
OpenPOWER on IntegriCloud