[clang-tidy] Add Apple prefix acronyms to objc-property-declaration
Summary:
This adds a few common Apple first-party API prefixes as acronyms to
`objc-property-declaration`.
Here's a list showing where these come from:
http://nshipster.com/namespacing/
Test Plan: New tests added. Ran tests with:
% make -j16 check-clang-tools
Reviewers: Wizard, hokein
Subscribers: klimek, xazax.hun, cfe-commits
Differential Revision: https://reviews.llvm.org/D46206
llvm-svn: 331267
diff --git a/clang-tools-extra/clang-tidy/objc/PropertyDeclarationCheck.cpp b/clang-tools-extra/clang-tidy/objc/PropertyDeclarationCheck.cpp
index ae9ca01..fd15df9 100644
--- a/clang-tools-extra/clang-tidy/objc/PropertyDeclarationCheck.cpp
+++ b/clang-tools-extra/clang-tidy/objc/PropertyDeclarationCheck.cpp
@@ -45,11 +45,17 @@
"ARGB",
"ASCII",
"BGRA",
+ "CA",
+ "CF",
+ "CG",
+ "CI",
+ "CV",
"CMYK",
"DNS",
"FPS",
"FTP",
"GIF",
+ "GL",
"GPS",
"GUID",
"HD",
@@ -65,6 +71,7 @@
"LZW",
"MDNS",
"MIDI",
+ "NS",
"OS",
"PDF",
"PIN",
@@ -81,6 +88,7 @@
"RPC",
"RTF",
"RTL",
+ "SC",
"SDK",
"SSO",
"TCP",