Skip to content
Snippets Groups Projects
  1. Nov 16, 2011
  2. Nov 05, 2011
  3. Oct 31, 2011
  4. Oct 25, 2011
  5. Oct 20, 2011
  6. Oct 18, 2011
  7. Oct 12, 2011
  8. Sep 27, 2011
  9. Sep 26, 2011
  10. Sep 19, 2011
  11. Sep 09, 2011
  12. Sep 08, 2011
  13. Sep 01, 2011
  14. Aug 23, 2011
  15. Aug 22, 2011
    • Argyrios Kyrtzidis's avatar
      Fix gcc build. · 21032df7
      Argyrios Kyrtzidis authored
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138226 91177308-0d34-0410-b5e6-96231b3b80d8
      21032df7
    • Argyrios Kyrtzidis's avatar
      Boost the efficiency of SourceManager::getMacroArgExpandedLocation. · d9d2b679
      Argyrios Kyrtzidis authored
      Currently getMacroArgExpandedLocation is very inefficient and for the case
      of a location pointing at the main file it will end up checking almost all of
      the SLocEntries. Make it faster:
      
      -Use a map of macro argument chunks to their expanded source location. The map
       is for a single source file, it's stored in the file's ContentCache and lazily
       computed, like the source lines cache.
      -In SLocEntry's FileInfo add an 'unsigned NumCreatedFIDs' field that keeps track
       of the number of FileIDs (files and macros) that were created during preprocessing
       of that particular file SLocEntry. This is useful when computing the macro argument
       map in skipping included files while scanning for macro arg FileIDs that lexed from
       a specific source file. Due to padding, the new field does not increase the size
       of SLocEntry.
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138225 91177308-0d34-0410-b5e6-96231b3b80d8
      d9d2b679
  16. Aug 20, 2011
  17. Aug 17, 2011
  18. Jul 27, 2011
  19. Jul 26, 2011
  20. Jul 25, 2011
Loading