Skip to content
  1. Dec 17, 2010
  2. Dec 16, 2010
  3. Dec 15, 2010
    • Argyrios Kyrtzidis's avatar
      Fix diagnostic pragmas. · 1cb0de1d
      Argyrios Kyrtzidis authored
      Diagnostic pragmas are broken because we don't keep track of the diagnostic state changes and we only check the current/latest state.
      Problems manifest if a diagnostic is emitted for a source line that has different diagnostic state than the current state; this can affect
      a lot of places, like C++ inline methods, template instantiations, the lexer, etc.
      
      Fix the issue by having the Diagnostic object keep track of the source location of the pragmas so that it is able to know what is the diagnostic state at any given source location.
      
      Fixes rdar://8365684.
      
      llvm-svn: 121873
      1cb0de1d
  4. Dec 12, 2010
  5. Dec 09, 2010
  6. Dec 02, 2010
  7. Nov 30, 2010
  8. Nov 29, 2010
  9. Nov 24, 2010
  10. Nov 23, 2010
  11. Nov 21, 2010
  12. Nov 19, 2010
  13. Nov 18, 2010
  14. Nov 12, 2010
  15. Nov 09, 2010
  16. Nov 03, 2010
    • Argyrios Kyrtzidis's avatar
      Implement -working-directory. · 71731d6b
      Argyrios Kyrtzidis authored
      When -working-directory is passed in command line, file paths are resolved relative to the specified directory.
      This helps both when using libclang (where we can't require the user to actually change the working directory)
      and to help reproduce test cases when the reproduction work comes along.
      
      --FileSystemOptions is introduced which controls how file system operations are performed (currently it just contains
       the working directory value if set).
      --FileSystemOptions are passed around to various interfaces that perform file operations.
      --Opening & reading the content of files should be done only through FileManager. This is useful in general since
       file operations will be abstracted in the future for the reproduction mechanism.
      
      FileSystemOptions is independent of FileManager so that we can have multiple translation units sharing the same
      FileManager but with different FileSystemOptions.
      
      Addresses rdar://8583824.
      
      llvm-svn: 118203
      71731d6b
Loading