]> granicus.if.org Git - clang/commitdiff
Silence warning about C++-style comments.
authorBenjamin Kramer <benny.kra@googlemail.com>
Tue, 22 Jun 2010 09:29:44 +0000 (09:29 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Tue, 22 Jun 2010 09:29:44 +0000 (09:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106531 91177308-0d34-0410-b5e6-96231b3b80d8

tools/c-index-test/c-index-test.c

index 05e2d9e16b1a80367518ed1f8990e96226abafd8..8106d204908c18465bbcdc9ebbf99a1769412792 100644 (file)
@@ -459,7 +459,7 @@ static enum CXChildVisitResult PrintTypeKind(CXCursor cursor, CXCursor p,
     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 @@ static enum CXChildVisitResult PrintTypeKind(CXCursor cursor, CXCursor p,
         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) {