[PATCH] D43124: Improve ObjC headers detection
Jacek Olesiak via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 9 06:30:34 PST 2018
jolesiak created this revision.
jolesiak added a reviewer: benhamilton.
Herald added subscribers: cfe-commits, klimek.
Improve ObjC headers detection by adding additional keywords.
Repository:
rC Clang
https://reviews.llvm.org/D43124
Files:
lib/Format/Format.cpp
Index: lib/Format/Format.cpp
===================================================================
--- lib/Format/Format.cpp
+++ lib/Format/Format.cpp
@@ -1441,6 +1441,7 @@
"NSArray",
"NSAttributedString",
"NSCache",
+ "NSCalendar",
"NSCharacterSet",
"NSCountedSet",
"NSData",
@@ -1466,6 +1467,7 @@
"NSMutableString",
"NSNumber",
"NSNumberFormatter",
+ "NSObject",
"NSOrderedSet",
"NSPoint",
"NSPointerArray",
@@ -1475,11 +1477,13 @@
"NSSet",
"NSSize",
"NSString",
+ "NSTimeZone",
"NSUInteger",
"NSURL",
"NSURLComponents",
"NSURLQueryItem",
"NSUUID",
+ "NSValue",
};
for (auto &Line : AnnotatedLines) {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43124.133606.patch
Type: text/x-patch
Size: 821 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180209/6b9c00b5/attachment.bin>
More information about the cfe-commits
mailing list