Skip to content
  1. Mar 17, 2010
  2. Mar 16, 2010
  3. Mar 05, 2010
  4. Feb 27, 2010
    • Douglas Gregor's avatar
      When given unsaved files in clang_createTranslationUnitFromSourceFile, · 89a56c56
      Douglas Gregor authored
      copy the source buffers provided rather than referencing them
      directly, so that the caller can free those buffers immediately after
      calling clang_createTranslationUnitFromSourceFile(). Otherwise, we
      risk hitting those buffers later (when building source ranges, forming
      diagnostics, etc.). 
      
      llvm-svn: 97296
      89a56c56
  5. Feb 19, 2010
  6. Feb 18, 2010
    • Douglas Gregor's avatar
      Rework how CIndex handles diagnostics. Rather than using a callback, · 33cdd810
      Douglas Gregor authored
      we attach diagnostics to translation units and code-completion
      results, so they can be queried at any time.
      
      To facilitate this, the new StoredDiagnostic class stores a diagnostic
      in a serializable/deserializable form, and ASTUnit knows how to
      capture diagnostics in this stored form. CIndex's CXDiagnostic is a
      thin wrapper around StoredDiagnostic, providing a C interface to
      stored or de-serialized diagnostics.
      
      I've XFAIL'd one test case temporarily, because currently we end up
      storing diagnostics in an ASTUnit that's never returned to the user
      (because it contains errors). I'll introduce a temporary fix for this
      soon; the real fix will be to allow us to return and query invalid ASTs.
      
      llvm-svn: 96592
      33cdd810
  7. Feb 16, 2010
  8. Jan 30, 2010
  9. Jan 25, 2010
  10. Jan 23, 2010
  11. Dec 15, 2009
  12. Dec 13, 2009
  13. Dec 08, 2009
  14. Dec 04, 2009
  15. Dec 03, 2009
  16. Dec 02, 2009
  17. Dec 01, 2009
  18. Nov 28, 2009
  19. Nov 15, 2009
  20. Nov 11, 2009
    • Daniel Dunbar's avatar
      Redo how PCH handles its implicit include. Instead of treating this specially in · 000c4ffd
      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
      000c4ffd
    • Daniel Dunbar's avatar
      StringRefify some PCH interfaces. · 20a682de
      Daniel Dunbar authored
      llvm-svn: 86775
      20a682de
  21. Oct 19, 2009
  22. Oct 18, 2009
  23. Oct 17, 2009
  24. Oct 16, 2009
  25. Sep 21, 2009
Loading