]> granicus.if.org Git - clang/commitdiff
Fixing the objc_runtine_name documentation so that the code block is properly generated.
authorAaron Ballman <aaron@aaronballman.com>
Thu, 17 Jul 2014 12:25:32 +0000 (12:25 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Thu, 17 Jul 2014 12:25:32 +0000 (12:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@213259 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/AttrDocs.td

index 914c0247c0792ffaf9df4abb38acf53357fed854..628f22f8601fc318f5284d1e9329dc4f0eebc3a6 100644 (file)
@@ -429,20 +429,20 @@ implementation of an override in a subclass does not call super.  For example:
 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
         
     }];
 }