r326193 - AttrDocs.td: fix bad indent and code block

Hans Wennborg via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 27 05:48:41 PST 2018


Author: hans
Date: Tue Feb 27 05:48:41 2018
New Revision: 326193

URL: http://llvm.org/viewvc/llvm-project?rev=326193&view=rev
Log:
AttrDocs.td: fix bad indent and code block

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=326193&r1=326192&r2=326193&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/AttrDocs.td (original)
+++ cfe/trunk/include/clang/Basic/AttrDocs.td Tue Feb 27 05:48:41 2018
@@ -1480,14 +1480,15 @@ x86/x86-64 targets, which can be used to
 same function that will be resolved at runtime based on the priority of their
 ``target`` attribute strings. A function is considered a multiversioned function
 if either two declarations of the function have different ``target`` attribute
-  strings, or if it has a ``target`` attribute string of ``default``.  For
-  example:
+strings, or if it has a ``target`` attribute string of ``default``.  For
+example:
 
   .. code-block:: c++
-  __attribute__((target("arch=atom")))
-  void foo() {} // will be called on 'atom' processors.
-  __attribute__((target("default")))
-  void foo() {} // will be called on any other processors.
+
+    __attribute__((target("arch=atom")))
+    void foo() {} // will be called on 'atom' processors.
+    __attribute__((target("default")))
+    void foo() {} // will be called on any other processors.
 
 All multiversioned functions must contain a ``default`` (fallback)
 implementation, otherwise usages of the function are considered invalid.




More information about the cfe-commits mailing list