[cfe-commits] r132878 - in /cfe/trunk: include/clang/AST/ include/clang/Basic/ include/clang/Parse/ include/clang/Sema/ lib/AST/ lib/CodeGen/ lib/Parse/ lib/Rewrite/ lib/Sema/ lib/Serialization/ test/CXX/class/class.mem/ test/CXX/dcl.dcl/dcl.spec

Eli Friedman eli.friedman at gmail.com
Sat Jun 11 14:36:00 PDT 2011


On Sat, Jun 11, 2011 at 10:19 AM, Richard Smith
<richard-llvm at metafoo.co.uk> wrote:
> Author: rsmith
> Date: Sat Jun 11 12:19:42 2011
> New Revision: 132878
>
> URL: http://llvm.org/viewvc/llvm-project?rev=132878&view=rev
> Log:
> Implement support for C++11 in-class initialization of non-static data members.

The following crashes (without C++0x enabled) with your patch:

struct S {
  typedef C = 0;
};

-Eli



More information about the cfe-commits mailing list