Steve Naroff a1c728438c Lot's of little changes to get the C-based indexing API going...
Work in progress.

llvm-svn: 80367
2009-08-28 15:28:48 +00:00

13 lines
250 B
C

#include "clang-c/Index.h"
/*
* First sign of life:-)
*/
int main(int argc, char **argv) {
CXIndex Idx = clang_createIndex();
CXTranslationUnit TU = clang_createTranslationUnit(Idx, argv[1]);
clang_loadTranslationUnit(TU, 0);
return 1;
}