[cfe-commits] r169289 - /cfe/trunk/test/Index/comment-objc-decls.m

Fariborz Jahanian fjahanian at apple.com
Tue Dec 4 10:25:34 PST 2012


Author: fjahanian
Date: Tue Dec  4 12:25:34 2012
New Revision: 169289

URL: http://llvm.org/viewvc/llvm-project?rev=169289&view=rev
Log:
additional test for declaration tag of a class extension.
// rdar://12378714

Modified:
    cfe/trunk/test/Index/comment-objc-decls.m

Modified: cfe/trunk/test/Index/comment-objc-decls.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Index/comment-objc-decls.m?rev=169289&r1=169288&r2=169289&view=diff
==============================================================================
--- cfe/trunk/test/Index/comment-objc-decls.m (original)
+++ cfe/trunk/test/Index/comment-objc-decls.m Tue Dec  4 12:25:34 2012
@@ -80,6 +80,21 @@
 // CHECK: <Declaration>@property ( readwrite,copy,atomic ) id PropertyMyClass</Declaration
 
 /**
+ * \brief - This is class extension of MyClass
+*/
+ at interface MyClass()
+{
+/**
+ * \brief IvarMyClassExtension - IvarMyClassExtension private to class extension
+*/
+  id IvarMyClassExtension;
+}
+ at end
+// CHECK: <Declaration>@interface MyClass()\n{\n    id IvarMyClassExtension;\n}\n at end</Declaration>
+// CHECK: <Declaration>id IvarMyClassExtension</Declaration>
+
+
+/**
  * \brief MyClass (Category) is private to MyClass.
 */
 @interface MyClass (Category)





More information about the cfe-commits mailing list