[llvm-branch-commits] [llvm-branch] r223581 - Merging r220360:

Daniel Sanders daniel.sanders at imgtec.com
Sat Dec 6 02:34:24 PST 2014


Author: dsanders
Date: Sat Dec  6 04:34:24 2014
New Revision: 223581

URL: http://llvm.org/viewvc/llvm-project?rev=223581&view=rev
Log:
Merging r220360:
------------------------------------------------------------------------
r220360 | filcab | 2014-10-22 03:16:06 +0100 (Wed, 22 Oct 2014) | 5 lines

Silence gcc's -Wcomment

gcc's (4.7, I think) -Wcomment warning is not "as smart" as clang's and
warns even if the line right after the backslash-newline sequence only has
a line comment that starts at the beginning of the line.
------------------------------------------------------------------------

Modified:
    llvm/branches/release_35/unittests/Analysis/LazyCallGraphTest.cpp

Modified: llvm/branches/release_35/unittests/Analysis/LazyCallGraphTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/release_35/unittests/Analysis/LazyCallGraphTest.cpp?rev=223581&r1=223580&r2=223581&view=diff
==============================================================================
--- llvm/branches/release_35/unittests/Analysis/LazyCallGraphTest.cpp (original)
+++ llvm/branches/release_35/unittests/Analysis/LazyCallGraphTest.cpp Sat Dec  6 04:34:24 2014
@@ -39,21 +39,23 @@ std::unique_ptr<Module> parseAssembly(co
   return M;
 }
 
-// IR forming a call graph with a diamond of triangle-shaped SCCs:
-//
-//         d1
-//        /  \
-//       d3--d2
-//      /     \
-//     b1     c1
-//   /  \    /  \
-//  b3--b2  c3--c2
-//       \  /
-//        a1
-//       /  \
-//      a3--a2
-//
-// All call edges go up between SCCs, and clockwise around the SCC.
+/*
+   IR forming a call graph with a diamond of triangle-shaped SCCs:
+
+           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[] =
      "define void @a1() {\n"
      "entry:\n"





More information about the llvm-branch-commits mailing list