Skip to content
  1. Dec 02, 2009
    • Daniel Dunbar's avatar
      ASTUnit: Don't create an LLVMContext, it shouldn't be needed. · 7afbb8c0
      Daniel Dunbar authored
      llvm-svn: 90310
      7afbb8c0
    • Douglas Gregor's avatar
      Introduce a new clang-cc option · d062bff7
      Douglas Gregor authored
        -remap-file=from;to
      
      which takes the file "from" and transparently replaces its contents
      with the contents of the file "to" from the source manager's
      perspective. This is the moral equivalent of
      
        cp from saved
        cp to from
        <call clang>
        cp saved from
        rm saved
      
      without all of the pesky file copying.
      
      llvm-svn: 90307
      d062bff7
    • Douglas Gregor's avatar
      Extend the source manager with the ability to override the contents of · 53ad6b94
      Douglas Gregor authored
      files with the contents of an arbitrary memory buffer. Use this new
      functionality to drastically clean up the way in which we handle file
      truncation for code-completion: all of the truncation/completion logic
      is now encapsulated in the preprocessor where it belongs
      (<rdar://problem/7434737>).
      
      llvm-svn: 90300
      53ad6b94
    • Daniel Dunbar's avatar
      Add ASTUnit::LoadFromCommandLine, which creates an ASTUnit out of a list of · 55a17b66
      Daniel Dunbar authored
      (clang/driver) command line arguments (including the source file).
       - The arguments are expected to include the source file.
      
       - The idea is that even though this is a somewhat odd API, its the form which
         many tools can most easily use (for example, by interposing with the compiler).
      
      Also, switch index-test's -ast-from-source to use this entry point, and provide
      a -arg command line argument which can be used to test that the command line
      arguments are handled correctly.
      
      llvm-svn: 90288
      55a17b66
  2. Dec 01, 2009
  3. Nov 30, 2009
  4. Nov 29, 2009
  5. Nov 28, 2009
  6. Nov 26, 2009
  7. Nov 25, 2009
  8. Nov 24, 2009
Loading