[cfe-commits] r106531 - /cfe/trunk/tools/c-index-test/c-index-test.c

Benjamin Kramer benny.kra at googlemail.com
Tue Jun 22 02:29:44 PDT 2010


Author: d0k
Date: Tue Jun 22 04:29:44 2010
New Revision: 106531

URL: http://llvm.org/viewvc/llvm-project?rev=106531&view=rev
Log:
Silence warning about C++-style comments.

Modified:
    cfe/trunk/tools/c-index-test/c-index-test.c

Modified: cfe/trunk/tools/c-index-test/c-index-test.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/c-index-test/c-index-test.c?rev=106531&r1=106530&r2=106531&view=diff
==============================================================================
--- cfe/trunk/tools/c-index-test/c-index-test.c (original)
+++ cfe/trunk/tools/c-index-test/c-index-test.c Tue Jun 22 04:29:44 2010
@@ -459,7 +459,7 @@
     PrintCursor(cursor);
     printf(" typekind=%s", clang_getCString(S));
     clang_disposeString(S);
-    // Print the canonical type if it is different.
+    /* Print the canonical type if it is different. */
     {
       CXType CT = clang_getCanonicalType(T);
       if (!clang_equalTypes(T, CT)) {
@@ -468,7 +468,7 @@
         clang_disposeString(CS);
       }
     }
-    // Print the return type if it exists.
+    /* Print the return type if it exists. */
     {
       CXType RT = clang_getCursorResultType(cursor);
       if (RT.kind != CXType_Invalid) {





More information about the cfe-commits mailing list