Skip to content
  1. Feb 19, 2010
  2. 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
  3. Feb 16, 2010
  4. Jan 30, 2010
  5. Jan 25, 2010
  6. Jan 23, 2010
  7. Dec 15, 2009
  8. Dec 13, 2009
  9. Dec 08, 2009
  10. Dec 04, 2009
  11. Dec 03, 2009
  12. Dec 02, 2009
  13. Dec 01, 2009
  14. Nov 28, 2009
  15. Nov 15, 2009
  16. 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
  17. Oct 19, 2009
  18. Oct 18, 2009
  19. Oct 17, 2009
  20. Oct 16, 2009
  21. Sep 21, 2009
  22. Sep 09, 2009
  23. Sep 04, 2009
  24. Sep 03, 2009
Loading