r213862 - Setting the documentation heading for #pragma unroll, which should not be with the heading for #pragma clang loop.
Aaron Ballman
aaron at aaronballman.com
Thu Jul 24 07:13:59 PDT 2014
Author: aaronballman
Date: Thu Jul 24 09:13:59 2014
New Revision: 213862
URL: http://llvm.org/viewvc/llvm-project?rev=213862&view=rev
Log:
Setting the documentation heading for #pragma unroll, which should not be with the heading for #pragma clang loop.
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=213862&r1=213861&r2=213862&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/AttrDocs.td (original)
+++ cfe/trunk/include/clang/Basic/AttrDocs.td Thu Jul 24 09:13:59 2014
@@ -1051,7 +1051,7 @@ This attribute is incompatible with the
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
More information about the cfe-commits
mailing list