Skip to content
  1. Jan 15, 2008
  2. Dec 29, 2007
  3. Dec 19, 2007
  4. Dec 15, 2007
  5. Dec 09, 2007
  6. Oct 11, 2007
  7. Oct 10, 2007
    • Chris Lattner's avatar
      clang -E should not print tokens from the predefines buffer. · 3ff2e697
      Chris Lattner authored
      llvm-svn: 42838
      3ff2e697
    • Chris Lattner's avatar
      Make a significant change to invert the control flow handling · 1f1b0dbc
      Chris Lattner authored
      predefined macros.  Previously, these were handled by the driver,
      now they are handled by the preprocessor.
      
      Some fallout of this:
      
      1. Instead of preprocessing two buffers (the predefines, then the 
         main source file)  we now start preprocessing the main source 
         file and inject the predefines as a "psuedo #include" from the
         main source file.
      2. #1 allows us to nuke the Lexer::IsMainFile flag and simplify
         Preprocessor::isInPrimaryFile.
      3. The driver doesn't have to know about standard #defines, the
         preprocessor knows, which is nice for people wanting to define
         their own drivers.
      4. This allows us to put normal tokens in the predefine buffer,
         for example a definition for __builtin_va_list that is 
         target-specific, and a typedef for id in objc.
      
      llvm-svn: 42818
      1f1b0dbc
  8. Oct 09, 2007
  9. Sep 03, 2007
  10. Jul 24, 2007
  11. Jul 23, 2007
  12. Jul 22, 2007
  13. Jul 20, 2007
    • Chris Lattner's avatar
      At one point there were going to be lexer and parser tokens. · 146762e7
      Chris Lattner authored
      Since that point is now long gone, we should rename LexerToken to
      Token, as it is the only kind of token we have.
      
      llvm-svn: 40105
      146762e7
    • Chris Lattner's avatar
      Reimplement SourceLocation. Instead of having a · dc5c055f
      Chris Lattner authored
      fileid/offset pair, it now contains a bit discriminating between
      mapped locations and file locations.  This separates the tables for
      macros and files in SourceManager, and allows better separation of
      concepts in the rest of the compiler.  This allows us to have *many*
      macro instantiations before running out of 'addressing space'.
      
      This is also more efficient, because testing whether something is a
      macro expansion is now a bit test instead of a table lookup (which
      also used to require having a srcmgr around, now it doesn't).
      
      This is fully functional, but there are several refinements and
      optimizations left.
      
      llvm-svn: 40103
      dc5c055f
  14. Jun 16, 2007
    • Chris Lattner's avatar
      Finally bite the bullet and make the major change: split the clang namespace · 23b7eb67
      Chris Lattner authored
      out of the llvm namespace.  This makes the clang namespace be a sibling of
      llvm instead of being a child.
      
      The good thing about this is that it makes many things unambiguous.  The
      bad things is that many things in the llvm namespace (notably data structures
      like smallvector) now require an llvm:: qualifier.  IMO, libsystem and libsupport
      should be split out of llvm into their own namespace in the future, which will fix
      this issue.
      
      llvm-svn: 39659
      23b7eb67
  15. Nov 21, 2006
  16. Oct 27, 2006
  17. Oct 18, 2006
  18. Jul 29, 2006
  19. Jul 28, 2006
  20. Jul 15, 2006
Loading