[PATCH] D51819: [clang-tidy/ObjC] Update list of acronyms in PropertyDeclarationCheck
Ben Hamilton via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 7 15:05:54 PDT 2018
benhamilton updated this revision to Diff 164523.
benhamilton added a comment.
- Update docs.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D51819
Files:
clang-tidy/objc/PropertyDeclarationCheck.cpp
docs/clang-tidy/checks/objc-property-declaration.rst
Index: docs/clang-tidy/checks/objc-property-declaration.rst
===================================================================
--- docs/clang-tidy/checks/objc-property-declaration.rst
+++ docs/clang-tidy/checks/objc-property-declaration.rst
@@ -63,7 +63,7 @@
If set to ``1``, the value in ``Acronyms`` is appended to the
default list of acronyms:
- ``ACL;API;ARGB;ASCII;BGRA;CMYK;DNS;FPS;FTP;GIF;GPS;HD;HDR;HTML;HTTP;HTTPS;HUD;ID;JPG;JS;LAN;LZW;MDNS;MIDI;OS;PDF;PIN;PNG;POI;PSTN;PTR;QA;QOS;RGB;RGBA;RGBX;ROM;RPC;RTF;RTL;SDK;SSO;TCP;TIFF;TTS;UI;URI;URL;VC;VOIP;VPN;VR;WAN;XML``.
+ ``[2-9]G;ACL;API;APN;APNS;AR;ARGB;ASCII;AV;BGRA;CA;CDN;CF;CG;CI;CRC;CV;CMYK;DNS;FPS;FTP;GIF;GL;GPS;GUID;HD;HDR;HMAC;HTML;HTTP;HTTPS;HUD;ID;JPG;JS;JSON;LAN;LZW;LTR;MAC;MD;MDNS;MIDI;NS;OS;P2P;PDF;PIN;PNG;POI;PSTN;PTR;QA;QOS;RGB;RGBA;RGBX;RIPEMD;ROM;RPC;RTF;RTL;SC;SDK;SHA;SQL;SSO;TCP;TIFF;TOS;TTS;UI;URI;URL;UUID;VC;VO;VOIP;VPN;VR;W;WAN;X;XML;Y;Z``.
If set to ``0``, the value in ``Acronyms`` replaces the default list
of acronyms.
Index: clang-tidy/objc/PropertyDeclarationCheck.cpp
===================================================================
--- clang-tidy/objc/PropertyDeclarationCheck.cpp
+++ clang-tidy/objc/PropertyDeclarationCheck.cpp
@@ -42,12 +42,15 @@
"[2-9]G",
"ACL",
"API",
+ "APN",
+ "APNS",
"AR",
"ARGB",
"ASCII",
"AV",
"BGRA",
"CA",
+ "CDN",
"CF",
"CG",
"CI",
@@ -71,14 +74,17 @@
"ID",
"JPG",
"JS",
+ "JSON",
"LAN",
"LZW",
+ "LTR",
"MAC",
"MD",
"MDNS",
"MIDI",
"NS",
"OS",
+ "P2P",
"PDF",
"PIN",
"PNG",
@@ -102,12 +108,14 @@
"SSO",
"TCP",
"TIFF",
+ "TOS",
"TTS",
"UI",
"URI",
"URL",
"UUID",
"VC",
+ "VO",
"VOIP",
"VPN",
"VR",
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51819.164523.patch
Type: text/x-patch
Size: 1866 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180907/28f6f1de/attachment.bin>
More information about the cfe-commits
mailing list