Skip to content
  1. Feb 05, 2011
    • Douglas Gregor's avatar
      Improve our uniquing of file entries when files are re-saved or are · 606c4ac3
      Douglas Gregor authored
      overridden via remapping. Thus, when we create a "virtual" file in the
      file manager, we still stat() the real file that lives behind it so
      that we can provide proper uniquing based on inodes. This helps keep
      the file manager much more consistent.
      
      To take advantage of this when reparsing files in libclang, we disable
      the use of the stat() cache when reparsing or performing code
      completion, since the stat() cache is very likely to be out of date in
      this use case.
      
      llvm-svn: 124971
      606c4ac3
  2. Feb 04, 2011
  3. Feb 03, 2011
  4. Feb 02, 2011
    • Douglas Gregor's avatar
      Canonicalize path names in the file manager before performing a lookup · 3c0d263a
      Douglas Gregor authored
      on that name. Canonicalization eliminates silliness such as "." and
      "foo/.." that breaks the uniquing of files in the presence of virtual
      files or files whose inode numbers have changed during
      parsing/re-parsing. c-index-test isn't able to create this crazy
      situation, so I've resorted to testing outside of the Clang
      tree. Fixes <rdar://problem/8928220>.
      
      Note that this hackery will go away once we have a real virtual file
      system on which we can layer FileManager; the virtual-files hack is
      showing cracks.
      
      llvm-svn: 124754
      3c0d263a
  5. Feb 01, 2011
  6. Jan 31, 2011
  7. Jan 27, 2011
  8. Jan 17, 2011
  9. Jan 14, 2011
  10. Jan 12, 2011
  11. Jan 07, 2011
  12. Jan 06, 2011
    • Bob Wilson's avatar
      Add cortex-m3 CPU to getCPUDefineSuffix mapping. · 44acad8e
      Bob Wilson authored
      Patch by Sylvère Teissier.
      
      llvm-svn: 122965
      44acad8e
    • Roman Divacky's avatar
      PowerPC fixes. · 965b0b72
      Roman Divacky authored
      Fix the width and align of bool type on Darwin to be 32bits
      while keeping it 8 everywhere else.
      
      Change the definition of va_list to default to SV4 ABI one
      and let darwin subtarget override this.
      
      Both changes submitted by Nathan Whitehorn and reviewed
      by Rafael Espindola.
      
      llvm-svn: 122956
      965b0b72
  13. Dec 29, 2010
  14. Dec 26, 2010
  15. Dec 24, 2010
  16. Dec 21, 2010
  17. Dec 19, 2010
  18. Dec 17, 2010
  19. Dec 16, 2010
  20. 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
  21. Dec 12, 2010
  22. Dec 09, 2010
  23. Dec 02, 2010
  24. Nov 30, 2010
  25. Nov 29, 2010
  26. Nov 24, 2010
  27. Nov 23, 2010
Loading