aboutsummaryrefslogtreecommitdiff
path: root/clang/tools/c-index-test/c-index-test.c
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2010-06-22 09:29:44 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2010-06-22 09:29:44 +0000
commit1e63c74f60812364cd13d90f1b285487fc96d311 (patch)
treec6a48201ec52fda63be6d713010f60fe3178ff43 /clang/tools/c-index-test/c-index-test.c
parent4505747979cfbc026deda0940e7251f57c7e5cde (diff)
downloadllvm-1e63c74f60812364cd13d90f1b285487fc96d311.zip
llvm-1e63c74f60812364cd13d90f1b285487fc96d311.tar.gz
llvm-1e63c74f60812364cd13d90f1b285487fc96d311.tar.bz2
Silence warning about C++-style comments.
llvm-svn: 106531
Diffstat (limited to 'clang/tools/c-index-test/c-index-test.c')
-rw-r--r--clang/tools/c-index-test/c-index-test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/tools/c-index-test/c-index-test.c b/clang/tools/c-index-test/c-index-test.c
index 05e2d9e1..8106d20 100644
--- a/clang/tools/c-index-test/c-index-test.c
+++ b/clang/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) {