summaryrefslogtreecommitdiffstats
path: root/llvm/unittests
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2014-05-06 09:46:06 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2014-05-06 09:46:06 +0000
commit1b5fd3e52a6a42e007dbd16f6c37f1ce3e1f1f30 (patch)
treec7f3b98218d71c94869291b4a4869300c9cdec14 /llvm/unittests
parentd263f14a0fed092af9dab53c1bdf25e6ba85c299 (diff)
downloadbcm5719-llvm-1b5fd3e52a6a42e007dbd16f6c37f1ce3e1f1f30.tar.gz
bcm5719-llvm-1b5fd3e52a6a42e007dbd16f6c37f1ce3e1f1f30.zip
Disable -Wcomment when building with GCC.
GCC version of -Wcomment is not compatible with ascii art graph diagrams. Reverts r207629. llvm-svn: 208073
Diffstat (limited to 'llvm/unittests')
-rw-r--r--llvm/unittests/Analysis/LazyCallGraphTest.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/llvm/unittests/Analysis/LazyCallGraphTest.cpp b/llvm/unittests/Analysis/LazyCallGraphTest.cpp
index 8c7b567afc9..d7c70453c9b 100644
--- a/llvm/unittests/Analysis/LazyCallGraphTest.cpp
+++ b/llvm/unittests/Analysis/LazyCallGraphTest.cpp
@@ -41,17 +41,17 @@ std::unique_ptr<Module> parseAssembly(const char *Assembly) {
// IR forming a call graph with a diamond of triangle-shaped SCCs:
//
-// d1 |
-// / \ |
-// d3--d2 |
-// / \ |
-// b1 c1 |
-// / \ / \ |
-// b3--b2 c3--c2 |
-// \ / |
-// a1 |
-// / \ |
-// a3--a2 |
+// d1
+// / \
+// d3--d2
+// / \
+// b1 c1
+// / \ / \
+// b3--b2 c3--c2
+// \ /
+// a1
+// / \
+// a3--a2
//
// All call edges go up between SCCs, and clockwise around the SCC.
static const char DiamondOfTriangles[] =
OpenPOWER on IntegriCloud