Steve Naroff | 5039819 | 2009-08-28 15:28:48 +0000 | [diff] [blame] | 1 | |
2 | #include "clang-c/Index.h" | ||||
3 | |||||
4 | /* | ||||
5 | * First sign of life:-) | ||||
6 | */ | ||||
7 | int main(int argc, char **argv) { | ||||
8 | CXIndex Idx = clang_createIndex(); | ||||
9 | CXTranslationUnit TU = clang_createTranslationUnit(Idx, argv[1]); | ||||
10 | clang_loadTranslationUnit(TU, 0); | ||||
11 | return 1; | ||||
12 | } |