[cfe-commits] r80833 - /cfe/trunk/tools/c-index-test/c-index-test.c
Eli Friedman
eli.friedman at gmail.com
Wed Sep 2 13:07:26 PDT 2009
Author: efriedma
Date: Wed Sep 2 15:07:26 2009
New Revision: 80833
URL: http://llvm.org/viewvc/llvm-project?rev=80833&view=rev
Log:
Fix warnings.
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=80833&r1=80832&r2=80833&view=diff
==============================================================================
--- cfe/trunk/tools/c-index-test/c-index-test.c (original)
+++ cfe/trunk/tools/c-index-test/c-index-test.c Wed Sep 2 15:07:26 2009
@@ -23,7 +23,6 @@
clang_getCursorLine(Cursor),
clang_getCursorColumn(Cursor));
- enum CXCursorKind filterData = CXCursor_FieldDecl;
clang_loadDeclaration(Cursor.decl, DeclVisitor, 0);
}
}
@@ -35,7 +34,6 @@
CXIndex Idx = clang_createIndex();
CXTranslationUnit TU = clang_createTranslationUnit(Idx, argv[1]);
- enum CXCursorKind filterData = CXCursor_StructDecl;
clang_loadTranslationUnit(TU, TranslationUnitVisitor, 0);
return 1;
}
More information about the cfe-commits
mailing list