- Dec 01, 2009
-
-
Daniel Dunbar authored
Also, add an -ast-from-source option to index-test which allows index-test to run on source files directly. llvm-svn: 90223
-
- Nov 28, 2009
-
-
Benjamin Kramer authored
llvm-svn: 90033
-
- Nov 15, 2009
-
-
Daniel Dunbar authored
- This ended up being hard to factor, sorry for the large diff. - Some post-commit cleanup to come. llvm-svn: 88833
-
- Nov 11, 2009
-
-
Daniel Dunbar authored
the front-end (as far as the preprocessor goes), follow the usual logic of inserting the (original include path) name into the predefines buffer. This pushes the responsibility for handling this to PCH instead of the front-end. In PCH this requires being a little more clever when we diff the predefines buffers. Neither of these solutions are particularly great, I think what we eventually should do is something like gcc where we insert a special marker to indicate the PCH file, but then run the preprocessor as usual. This would be clearer and would allow us to drop the overly clever predefines handling. llvm-svn: 86806
-
Daniel Dunbar authored
llvm-svn: 86775
-
- Oct 19, 2009
-
-
Ted Kremenek authored
alternate DiagnosticClients. To match this API, ASTUnit::LoadFromPCHFile() now takes a corresponding DiagnosticClient* argument as well. The DiagnosticClient object is destroyed when the ASTUnit object is destroyed. The CIndex library now uses this API to create a 'IgnoreDiagnosticsClient' that simply silences diagnostics when using the clang_createTranslationUnitFromSourceFile() function. This fixes <rdar://problem/7312058>. This API can change in the future as we add more flexibility for clients. llvm-svn: 84539
-
Steve Naroff authored
Removing this shared data should enable clang_createTranslationUnit/clang_createTranslationUnitFromSourceFile to be run from multiple threads (related to <rdar://problem/7303432>). llvm-svn: 84499
-
- Oct 18, 2009
-
-
Benjamin Kramer authored
llvm-svn: 84415
-
- Oct 17, 2009
-
-
Ted Kremenek authored
its own BumpPtrAllocator to allocate ASTs. Change clang_createTranslationUnit (CIndex) to pass 'UseBumpPtrAllocator = true' to ASTUnit::LoadFromPCHFile(). llvm-svn: 84296
-
- Oct 16, 2009
-
-
Douglas Gregor authored
header or not via a new "PCHLevel" field in Decl. We currently use this information to help CIndex filter out declarations that came from a precompiled header (rather than from an AST file). Further down the road, it can be used to help implement multi-level precompiled headers. llvm-svn: 84267
-
Steve Naroff authored
llvm-svn: 84208
-
- Sep 21, 2009
-
-
Daniel Dunbar authored
- It isn't really clear what to do with the preprocessor here, but this is more sensible. llvm-svn: 82431
-
Daniel Dunbar authored
llvm-svn: 82430
-
- Sep 09, 2009
-
-
Mike Stump authored
llvm-svn: 81346
-
- Sep 04, 2009
-
-
Steve Naroff authored
Implement clang_getCursor() - wired up to Argiris's work. Implement callbacks for CXCursor_ObjCProtocolRef. llvm-svn: 81004
-
- Sep 03, 2009
-
-
Steve Naroff authored
llvm-svn: 80932
-
Daniel Dunbar authored
variables.", this is breaking x86_64-apple-darwin10 and Linux tests. llvm-svn: 80896
-
Daniel Dunbar authored
previous commit this depends on is breaking x86_64-apple-darwin10 and Linux tests. llvm-svn: 80895
-
Steve Naroff authored
llvm-svn: 80861
-
Steve Naroff authored
Add clang_getTranslationUnitSpelling(). llvm-svn: 80859
-
- Jun 25, 2009
-
-
Argyrios Kyrtzidis authored
llvm-svn: 74196
-
- Jun 20, 2009
-
-
Argyrios Kyrtzidis authored
llvm-svn: 73825
-
Argyrios Kyrtzidis authored
ASTUnit is a helper class to allow easy loading of an ASTContext from a PCH file. No users for now. llvm-svn: 73819
-