From: Ted Kremenek Date: Sat, 17 Oct 2009 06:37:16 +0000 (+0000) Subject: Fix warning: 'warning: C++ style comments are not allowed in ISO C90' X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8ce88a449c4ae09af2108f5c1203caa37145817d;p=clang 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 --- 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);