[cfe-commits] r84317 - /cfe/trunk/tools/c-index-test/c-index-test.c

Ted Kremenek kremenek at apple.com
Fri Oct 16 23:37:16 PDT 2009


Author: kremenek
Date: Sat Oct 17 01:37:16 2009
New Revision: 84317

URL: http://llvm.org/viewvc/llvm-project?rev=84317&view=rev
Log:
Fix warning: 'warning: C++ style comments are not allowed in ISO C90'

Modified:
    cfe/trunk/tools/c-index-test/c-index-test.c

Modified: cfe/trunk/tools/c-index-test/c-index-test.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/c-index-test/c-index-test.c?rev=84317&r1=84316&r2=84317&view=diff

==============================================================================
--- cfe/trunk/tools/c-index-test/c-index-test.c (original)
+++ cfe/trunk/tools/c-index-test/c-index-test.c Sat Oct 17 01:37:16 2009
@@ -64,7 +64,7 @@
           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);





More information about the cfe-commits mailing list