From 6a333f21921da5a817bf56e6e25b407c69b1891a Mon Sep 17 00:00:00 2001 From: Hans Wennborg Date: Tue, 27 Feb 2018 13:48:41 +0000 Subject: [PATCH] AttrDocs.td: fix bad indent and code block git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@326193 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Basic/AttrDocs.td | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/include/clang/Basic/AttrDocs.td b/include/clang/Basic/AttrDocs.td index cc7c6ff189..4e23e27aea 100644 --- a/include/clang/Basic/AttrDocs.td +++ b/include/clang/Basic/AttrDocs.td @@ -1480,14 +1480,15 @@ x86/x86-64 targets, which can be used to create multiple implementations of the 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. -- 2.40.0