[clang-tidy] Add Apple prefix acronyms to objc-property-declaration
authorBen Hamilton <benhamilton@google.com>
Tue, 1 May 2018 14:48:51 +0000 (14:48 +0000)
committerBen Hamilton <benhamilton@google.com>
Tue, 1 May 2018 14:48:51 +0000 (14:48 +0000)
commitd4fb951ce35315e1a3f5d760195fe23974c5e31f
treece88bfe07465151e7f3d44343bc16da9d5c40c6f
parenteec5ba9faea38b911cdd8aaf48cde1bd2e194be4
[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
clang-tools-extra/clang-tidy/objc/PropertyDeclarationCheck.cpp
clang-tools-extra/test/clang-tidy/objc-property-declaration.m