From: Benjamin Kramer Date: Tue, 22 Jun 2010 09:29:44 +0000 (+0000) Subject: Silence warning about C++-style comments. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e1403d2dcb06fc306e186c787a7bd0ca30e06ede;p=clang Silence warning about C++-style comments. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106531 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/c-index-test/c-index-test.c b/tools/c-index-test/c-index-test.c index 05e2d9e16b..8106d20490 100644 --- a/tools/c-index-test/c-index-test.c +++ b/tools/c-index-test/c-index-test.c @@ -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) {