[llvm] r249212 - Fix comment ASCII art to unbreak the gcc 4.9.1 build

Sanjoy Das via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 2 16:24:52 PDT 2015


Author: sanjoy
Date: Fri Oct  2 18:24:52 2015
New Revision: 249212

URL: http://llvm.org/viewvc/llvm-project?rev=249212&view=rev
Log:
Fix comment ASCII art to unbreak the gcc 4.9.1 build

The trailing backslashes in some ASCII art added in r248527 cause a
"error: multi-line comment [-Werror=comment]" when building with gcc
4.9.1 -Wall.  Swallow (ASCII-)artistic integrity and use pipes instead.

Modified:
    llvm/trunk/include/llvm/IR/InstrTypes.h

Modified: llvm/trunk/include/llvm/IR/InstrTypes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/InstrTypes.h?rev=249212&r1=249211&r2=249212&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/InstrTypes.h (original)
+++ llvm/trunk/include/llvm/IR/InstrTypes.h Fri Oct  2 18:24:52 2015
@@ -1134,19 +1134,19 @@ typedef OperandBundleDefT<const Value *>
 ///
 /// The layout of an operand bundle user is
 ///
-///              +-------uint32_t End---------------------------------+
-///             /                                                      \
-///            /  +------uint32_t Begin------------------+              \
-///           /  /                                        \              \
+///          +-----------uint32_t End-------------------------------------+
+///          |                                                            |
+///          |  +--------uint32_t Begin--------------------+              |
+///          |  |                                          |              |
 ///          ^  ^                                          v              v
 ///  |------|------|----|----|----|----|----|---------|----|---------|----|-----
 ///  | BOI0 | BOI1 | .. | DU | U0 | U1 | .. | BOI0_U0 | .. | BOI1_U0 | .. | Un
 ///  |------|------|----|----|----|----|----|---------|----|---------|----|-----
 ///   v  v                                  ^              ^
-///    \  \                                /              /
-///     \  +------uint32_t Begin----------+              /
-///      \                                              /
-///       +-------uint32_t End-------------------------+
+///   |  |                                  |              |
+///   |  +--------uint32_t Begin------------+              |
+///   |                                                    |
+///   +-----------uint32_t End-----------------------------+
 ///
 ///
 /// BOI0, BOI1 ... are descriptions of operand bundles in this User's use list.




More information about the llvm-commits mailing list