Skip to content
  1. Jun 14, 2011
  2. Jun 13, 2011
  3. Jun 12, 2011
    • Richard Smith's avatar
      Don't assert on initialized typedef declarations in classes: · 4a4beec7
      Richard Smith authored
        struct {
          typedef int A = 0;
        };
      
      According to the C++11 standard, this is not ill-formed, but does not have any ascribed meaning. We can't reasonably accept it, so treat it as ill-formed.
      
      Also switch C++ from an incorrect 'fields can only be initialized in constructors' diagnostic for this case to C's 'illegal initializer (only variables can be initialized)'
      
      llvm-svn: 132890
      4a4beec7
  4. Jun 11, 2011
  5. Jun 10, 2011
  6. Jun 09, 2011
  7. Jun 08, 2011
Loading