aboutsummaryrefslogtreecommitdiff
path: root/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
commite1403d2dcb06fc306e186c787a7bd0ca30e06ede (patch)
tree41c23429e01e0cfd698c1f2cc61ad68adcb6f845 /tools/c-index-test/c-index-test.c
parentc7de88b6e777ad71e730efc152413ebca160a117 (diff)
Silence warning about C++-style comments.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106531 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/c-index-test/c-index-test.c')
-rw-r--r--tools/c-index-test/c-index-test.c4
1 files changed, 2 insertions, 2 deletions
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) {