From: Fariborz Jahanian Date: Wed, 16 Jul 2014 20:24:55 +0000 (+0000) Subject: Objective-C. Modify text of documentation for objc_runtime_name X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=906f34cfabeee1255af10a0efaa9f7ef2372ce17;p=clang Objective-C. Modify text of documentation for objc_runtime_name attribute. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@213192 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Basic/AttrDocs.td b/include/clang/Basic/AttrDocs.td index 18c49eefba..914c0247c0 100644 --- a/include/clang/Basic/AttrDocs.td +++ b/include/clang/Basic/AttrDocs.td @@ -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: