r213192 - Objective-C. Modify text of documentation for objc_runtime_name

Fariborz Jahanian fjahanian at apple.com
Wed Jul 16 13:24:55 PDT 2014


Author: fjahanian
Date: Wed Jul 16 15:24:55 2014
New Revision: 213192

URL: http://llvm.org/viewvc/llvm-project?rev=213192&view=rev
Log:
Objective-C. Modify text of documentation for objc_runtime_name
attribute.

Modified:
    cfe/trunk/include/clang/Basic/AttrDocs.td

Modified: cfe/trunk/include/clang/Basic/AttrDocs.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/AttrDocs.td?rev=213192&r1=213191&r2=213192&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/AttrDocs.td (original)
+++ cfe/trunk/include/clang/Basic/AttrDocs.td Wed Jul 16 15:24:55 2014
@@ -429,9 +429,11 @@ implementation of an override in a subcl
 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:





More information about the cfe-commits mailing list