summaryrefslogtreecommitdiff
path: root/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
commit0e8c40d6439acdc2a31f2c1c4eab5d547baa01a6 (patch)
tree46287c25fcd2011e10bdae3909c86b4e3d9a00a9 /unittests
parent64cd55a12676cf108f89438dfa7b47b9c1cf0b75 (diff)
downloadllvm-0e8c40d6439acdc2a31f2c1c4eab5d547baa01a6.tar.gz
llvm-0e8c40d6439acdc2a31f2c1c4eab5d547baa01a6.tar.bz2
llvm-0e8c40d6439acdc2a31f2c1c4eab5d547baa01a6.tar.xz
Disable -Wcomment when building with GCC.
GCC version of -Wcomment is not compatible with ascii art graph diagrams. Reverts r207629. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208073 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r--unittests/Analysis/LazyCallGraphTest.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/unittests/Analysis/LazyCallGraphTest.cpp b/unittests/Analysis/LazyCallGraphTest.cpp
index 8c7b567afc..d7c70453c9 100644
--- a/unittests/Analysis/LazyCallGraphTest.cpp
+++ b/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[] =