r213259 - Fixing the objc_runtine_name documentation so that the code block is properly generated.

Aaron Ballman aaron at aaronballman.com
Thu Jul 17 05:25:32 PDT 2014


Author: aaronballman
Date: Thu Jul 17 07:25:32 2014
New Revision: 213259

URL: http://llvm.org/viewvc/llvm-project?rev=213259&view=rev
Log:
Fixing the objc_runtine_name documentation so that the code block is properly generated.

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=213259&r1=213258&r2=213259&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/AttrDocs.td (original)
+++ cfe/trunk/include/clang/Basic/AttrDocs.td Thu Jul 17 07:25:32 2014
@@ -429,20 +429,20 @@ implementation of an override in a subcl
 def ObjCRuntimeNameDocs : Documentation {
     let Category = DocCatFunction;
     let Content = [{
-        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.
+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:
+**Usage**: ``__attribute__((objc_runtime_name("MyLocalName")))``.  This attribute
+can only be placed before an @protocol or @interface declaration:
         
-        .. code-block:: objc
+.. code-block:: objc
         
-        __attribute__((objc_runtime_name("MyLocalName")))
-        @interface Message
-        @end
+  __attribute__((objc_runtime_name("MyLocalName")))
+  @interface Message
+  @end
         
     }];
 }





More information about the cfe-commits mailing list