[cfe-commits] r106640 - /cfe/trunk/test/Index/usrs.m
Ted Kremenek
kremenek at apple.com
Wed Jun 23 11:10:30 PDT 2010
Author: kremenek
Date: Wed Jun 23 13:10:30 2010
New Revision: 106640
URL: http://llvm.org/viewvc/llvm-project?rev=106640&view=rev
Log:
Add USR tests for ObjC class extensions.
Modified:
cfe/trunk/test/Index/usrs.m
Modified: cfe/trunk/test/Index/usrs.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Index/usrs.m?rev=106640&r1=106639&r2=106640&view=diff
==============================================================================
--- cfe/trunk/test/Index/usrs.m (original)
+++ cfe/trunk/test/Index/usrs.m Wed Jun 23 13:10:30 2010
@@ -48,6 +48,15 @@
static int local_func(int x) { return x; }
+ at interface CWithExt
+ at end
+ at interface CWithExt ()
+ at end
+ at interface CWithExt ()
+ at end
+ at implementation CWithExt
+ at end
+
// CHECK: usrs.m c:usrs.m at 3:19 at F@my_helper Extent=[3:19 - 3:60]
// CHECK: usrs.m c:usrs.m at 3:29 at F@my_helper at x Extent=[3:29 - 3:34]
// CHECK: usrs.m c:usrs.m at 3:36 at F@my_helper at y Extent=[3:36 - 3:41]
@@ -84,4 +93,9 @@
// CHECK: usrs.m c:@z Extent=[47:1 - 47:6]
// CHECK: usrs.m c:usrs.m at 49:12 at F@local_func Extent=[49:12 - 49:43]
// CHECK: usrs.m c:usrs.m at 49:23 at F@local_func at x Extent=[49:23 - 49:28]
+// CHECK: usrs.m c:objc(cs)CWithExt Extent=[51:1 - 52:5]
+// CHECK: usrs.m c:objc(cy)CWithExt@ Extent=[53:1 - 54:5]
+// CHECK: usrs.m c:objc(cy)CWithExt@ Extent=[55:1 - 56:5]
+// CHECK: usrs.m c:objc(cs)CWithExt Extent=[57:1 - 58:2]
+
More information about the cfe-commits
mailing list