aboutsummaryrefslogtreecommitdiff
path: root/tools/c-index-test/c-index-test.c
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-10-17 06:37:16 +0000
committerTed Kremenek <kremenek@apple.com>2009-10-17 06:37:16 +0000
commit8ce88a449c4ae09af2108f5c1203caa37145817d (patch)
treeada9a112043c0368c1cdb68f1cc016425d82481d /tools/c-index-test/c-index-test.c
parentdff76894ff5fa710f8f453eaf1108440815988a7 (diff)
Fix warning: 'warning: C++ style comments are not allowed in ISO C90'
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84317 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/c-index-test/c-index-test.c b/tools/c-index-test/c-index-test.c
index 73764950c3..1ad48266ee 100644
--- a/tools/c-index-test/c-index-test.c
+++ b/tools/c-index-test/c-index-test.c
@@ -64,7 +64,7 @@ static void TranslationUnitVisitor(CXTranslationUnit Unit, CXCursor Cursor,
Ref = clang_getCursor(Unit, clang_getCursorSource(Cursor),
curLine, curColumn);
if (Ref.kind == CXCursor_NoDeclFound) {
- // Nothing found here; that's fine.
+ /* Nothing found here; that's fine. */
} else if (Ref.kind != CXCursor_FunctionDecl) {
printf("// CHECK: %s:%d:%d: ", basename(clang_getCursorSource(Ref)),
curLine, curColumn);