Skip to content
  1. Sep 02, 2011
  2. Sep 01, 2011
    • Douglas Gregor's avatar
      Modules hide macro definitions by default, so that silly things like · 4a69c2e6
      Douglas Gregor authored
      include guards don't show up as macro definitions in every translation
      unit that imports a module. Macro definitions can, however, be
      exported with the intentionally-ugly #__export_macro__
      directive. Implement this feature by not even bothering to serialize
      non-exported macros to a module, because clients of that module need
      not (should not) know that these macros even exist.
      
      llvm-svn: 138943
      4a69c2e6
  3. Aug 30, 2011
  4. Aug 29, 2011
  5. Aug 26, 2011
  6. Aug 24, 2011
  7. Aug 23, 2011
  8. Aug 22, 2011
    • Argyrios Kyrtzidis's avatar
      Boost the efficiency of SourceManager::getMacroArgExpandedLocation. · 61ef3db2
      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.
      
      llvm-svn: 138225
      61ef3db2
  9. Aug 20, 2011
  10. Aug 18, 2011
  11. Aug 17, 2011
  12. Aug 13, 2011
  13. Aug 09, 2011
  14. Aug 04, 2011
  15. Jul 31, 2011
  16. Jul 29, 2011
  17. Jul 27, 2011
  18. Jul 26, 2011
  19. Jul 25, 2011
Loading