]> granicus.if.org Git - clang/commitdiff
Fix warning: 'warning: C++ style comments are not allowed in ISO C90'
authorTed Kremenek <kremenek@apple.com>
Sat, 17 Oct 2009 06:37:16 +0000 (06:37 +0000)
committerTed Kremenek <kremenek@apple.com>
Sat, 17 Oct 2009 06:37:16 +0000 (06:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84317 91177308-0d34-0410-b5e6-96231b3b80d8

tools/c-index-test/c-index-test.c

index 73764950c313641d39256734909854ae3e6c2d4d..1ad48266eee8c3f9d30e176ddf37ed379cd8fb6f 100644 (file)
@@ -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);