]> granicus.if.org Git - clang/commitdiff
Setting the documentation heading for #pragma unroll, which should not be with the...
authorAaron Ballman <aaron@aaronballman.com>
Thu, 24 Jul 2014 14:13:59 +0000 (14:13 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Thu, 24 Jul 2014 14:13:59 +0000 (14:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@213862 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/AttrDocs.td

index 655cc45ab94c6178bc509683bb3d364f4e9ddd6b..34dd1b0c45f974af89c1bc7b6e34eab5066371cc 100644 (file)
@@ -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