From: Aaron Ballman Date: Thu, 24 Jul 2014 14:13:59 +0000 (+0000) Subject: Setting the documentation heading for #pragma unroll, which should not be with the... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=66082dfb2a42c15b95f5747fe49acd3df98247c6;p=clang Setting the documentation heading for #pragma unroll, which should not be with the heading for #pragma clang loop. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@213862 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Basic/AttrDocs.td b/include/clang/Basic/AttrDocs.td index 655cc45ab9..34dd1b0c45 100644 --- a/include/clang/Basic/AttrDocs.td +++ b/include/clang/Basic/AttrDocs.td @@ -1051,7 +1051,7 @@ This attribute is incompatible with the ``always_inline`` attribute. def LoopHintDocs : Documentation { let Category = DocCatStmt; - let Heading = "#pragma clang loop, #pragma unroll"; + let Heading = "#pragma clang loop"; let Content = [{ The ``#pragma clang loop`` directive allows loop optimization hints to be specified for the subsequent loop. The directive allows vectorization, @@ -1065,6 +1065,7 @@ for details. def UnrollHintDocs : Documentation { let Category = DocCatStmt; + let Heading = "#pragma unroll"; let Content = [{ Loop unrolling optimization hints can be specified with ``#pragma unroll``. The pragma is placed immediately before a for, while, do-while, or c++11 range-based