From 0e8c40d6439acdc2a31f2c1c4eab5d547baa01a6 Mon Sep 17 00:00:00 2001 From: Evgeniy Stepanov Date: Tue, 6 May 2014 09:46:06 +0000 Subject: 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 --- unittests/Analysis/LazyCallGraphTest.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'unittests/Analysis') 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 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[] = -- cgit v1.2.3