]> granicus.if.org Git - clang/commitdiff
Objective-C. Modify text of documentation for objc_runtime_name
authorFariborz Jahanian <fjahanian@apple.com>
Wed, 16 Jul 2014 20:24:55 +0000 (20:24 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Wed, 16 Jul 2014 20:24:55 +0000 (20:24 +0000)
attribute.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@213192 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/AttrDocs.td

index 18c49eefba78e92f6173b6e8195571c87cedeae4..914c0247c0792ffaf9df4abb38acf53357fed854 100644 (file)
@@ -429,9 +429,11 @@ implementation of an override in a subclass does not call super.  For example:
 def ObjCRuntimeNameDocs : Documentation {
     let Category = DocCatFunction;
     let Content = [{
-        Annotation of Objective-C classes and protocols with this attribute allow to
-        use an alternative name for metadata names which normally use class or protocol
-        names as part of their names.
+        By default, the Objective-C interface or protocol identifier is used
+        in the metadata name for that object. The `objc_runtime_name`
+        attribute allows annotated interfaces or protocols to use the
+        specified string argument in the object's metadata name instead of the
+        default name.
         
         **Usage**: ``__attribute__((objc_runtime_name("MyLocalName")))``.  This attribute
         can only be placed before an @protocol or @interface declaration: