Skip to content
  1. Mar 11, 2010
  2. Mar 08, 2010
  3. Feb 09, 2010
  4. Feb 05, 2010
  5. Jan 10, 2010
  6. Dec 23, 2009
  7. Dec 18, 2009
  8. Dec 16, 2009
  9. Nov 10, 2009
  10. Oct 29, 2009
  11. Oct 06, 2009
  12. Aug 19, 2009
  13. Jul 28, 2009
  14. Jul 19, 2009
  15. Jul 16, 2009
  16. Jul 15, 2009
  17. Jul 06, 2009
  18. Jun 14, 2009
  19. May 30, 2009
  20. May 21, 2009
  21. Apr 22, 2009
  22. Apr 01, 2009
  23. Mar 28, 2009
  24. Mar 19, 2009
    • Douglas Gregor's avatar
      Introduce a representation for types that we referred to via a · 5253768a
      Douglas Gregor authored
      qualified name, e.g., 
      
        foo::x
      
      so that we retain the nested-name-specifier as written in the source
      code and can reproduce that qualified name when printing the types
      back (e.g., in diagnostics). This is PR3493, which won't be complete
      until finished the other tasks mentioned near the end of this commit.
      
      The parser's representation of nested-name-specifiers, CXXScopeSpec,
      is now a bit fatter, because it needs to contain the scopes that
      precede each '::' and keep track of whether the global scoping
      operator '::' was at the beginning. For example, we need to keep track
      of the leading '::', 'foo', and 'bar' in
       
        ::foo::bar::x
      
      The Action's CXXScopeTy * is no longer a DeclContext *. It's now the
      opaque version of the new NestedNameSpecifier, which contains a single
      component of a nested-name-specifier (either a DeclContext * or a Type
      *, bitmangled). 
      
      The new sugar type QualifiedNameType composes a sequence of
      NestedNameSpecifiers with a representation of the type we're actually
      referring to. At present, we only build QualifiedNameType nodes within
      Sema::getTypeName. This will be extended to other type-constructing
      actions (e.g., ActOnClassTemplateId).
      
      Also on the way: QualifiedDeclRefExprs will also store a sequence of
      NestedNameSpecifiers, so that we can print out the property
      nested-name-specifier. I expect to also use this for handling
      dependent names like Fibonacci<I - 1>::value.
      
      llvm-svn: 67265
      5253768a
  25. Mar 17, 2009
    • Douglas Gregor's avatar
      Build system changes to use TableGen to generate the various · 23d75bb3
      Douglas Gregor authored
      diagnostics. This builds on the patch that Sebastian committed and
      then revert. Major differences are:
      
        - We don't remove or use the current ".def" files. Instead, for now,
          we just make sure that we're building the ".inc" files.
        - Fixed CMake makefiles to run TableGen and build the ".inc" files
          when needed. Tested with both the Xcode and Makefile generators
          provided by CMake, so it should be solid.
        - Fixed normal makefiles to handle out-of-source builds that involve
          the ".inc" files.
      
      I'll send a separate patch to the list with Sebastian's changes that
      eliminate the use of the .def files.
      
      llvm-svn: 67058
      23d75bb3
  26. Feb 04, 2009
  27. Nov 19, 2008
  28. Nov 17, 2008
  29. Oct 26, 2008
Loading