From 0cffc8a2650c336f4821e065b23889fa570a4415 Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Thu, 24 Jul 2014 14:13:59 +0000 Subject: [PATCH] Setting the documentation heading for #pragma unroll, which should not be with the heading for #pragma clang loop. llvm-svn: 213862 --- clang/include/clang/Basic/AttrDocs.td | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clang/include/clang/Basic/AttrDocs.td b/clang/include/clang/Basic/AttrDocs.td index 655cc45..34dd1b0 100644 --- a/clang/include/clang/Basic/AttrDocs.td +++ b/clang/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 -- 2.7.4