Skip to content
  1. Mar 28, 2009
    • Eli Friedman's avatar
      Change compound assignment operators to keep track of both the promoted · 8b7b1b1a
      Eli Friedman authored
      LHS type and the computation result type; this encodes information into 
      the AST which is otherwise non-obvious.  Fix Sema to always come up with the 
      right answer for both of these types.  Fix IRGen and the analyzer to 
      account for these changes.  This fixes PR2601.  The approach is inspired 
      by PR2601 comment 2.
      
      Note that this changes real *= complex in CodeGen from a silent 
      miscompilation to an explicit error.
      
      I'm not really sure that the analyzer changes are correct, or how to 
      test them... someone more familiar with the analyzer should check those 
      changes.
      
      llvm-svn: 67889
      8b7b1b1a
    • Anders Carlsson's avatar
      Implement access checking for protected base classes. · 0cb4cc10
      Anders Carlsson authored
      llvm-svn: 67887
      0cb4cc10
    • Douglas Gregor's avatar
      Make our diagnostics about the obsolete GNU designated-initializer · 5c7c9cb6
      Douglas Gregor authored
      syntax into extension warnings, and provide code-modification hints
      showing how to fix the problem.
      
      llvm-svn: 67885
      5c7c9cb6
    • Douglas Gregor's avatar
      Initial implementation of parsing, semantic analysis, and template · 333489bb
      Douglas Gregor authored
      instantiation for C++ typename-specifiers such as
      
        typename T::type
      
      The parsing of typename-specifiers is relatively easy thanks to
      annotation tokens. When we see the "typename", we parse the
      typename-specifier and produce a typename annotation token. There are
      only a few places where we need to handle this. We currently parse the
      typename-specifier form that terminates in an identifier, but not the
      simple-template-id form, e.g.,
      
        typename T::template apply<U, V>
      
      Parsing of nested-name-specifiers has a similar problem, since at this
      point we don't have any representation of a class template
      specialization whose template-name is unknown.
      
      Semantic analysis is only partially complete, with some support for
      template instantiation that works for simple examples. 
      
      llvm-svn: 67875
      333489bb
  2. Mar 27, 2009
  3. Mar 26, 2009
  4. Mar 25, 2009
Loading