Skip to content
  1. Mar 21, 2009
  2. Mar 20, 2009
  3. Mar 19, 2009
    • Daniel Dunbar's avatar
      IRgen support for alias of global variable. · 4e004ed1
      Daniel Dunbar authored
       - PR3818.
      
      llvm-svn: 67297
      4e004ed1
    • Devang Patel's avatar
      Encode ivar access control info. · ec4bad50
      Devang Patel authored
      llvm-svn: 67267
      ec4bad50
    • 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
  4. Mar 18, 2009
  5. Mar 17, 2009
  6. Mar 15, 2009
  7. Mar 14, 2009
  8. Mar 13, 2009
  9. Mar 12, 2009
  10. Mar 11, 2009
Loading