summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2014-07-17 12:25:32 +0000
committerAaron Ballman <aaron@aaronballman.com>2014-07-17 12:25:32 +0000
commit4d7e7a20828566ee7c00a0e1620be76a7997b37e (patch)
treecb7868e72413ed0509bce6ef0cd013d55f5c0e2f
parentfc3861ac484522fc66896b54ffe5b9110221eb90 (diff)
downloadbcm5719-llvm-4d7e7a20828566ee7c00a0e1620be76a7997b37e.tar.gz
bcm5719-llvm-4d7e7a20828566ee7c00a0e1620be76a7997b37e.zip
Fixing the objc_runtine_name documentation so that the code block is properly generated.
llvm-svn: 213259
-rw-r--r--clang/include/clang/Basic/AttrDocs.td22
1 files changed, 11 insertions, 11 deletions
diff --git a/clang/include/clang/Basic/AttrDocs.td b/clang/include/clang/Basic/AttrDocs.td
index 914c0247c07..628f22f8601 100644
--- a/clang/include/clang/Basic/AttrDocs.td
+++ b/clang/include/clang/Basic/AttrDocs.td
@@ -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
}];
}
OpenPOWER on IntegriCloud