I don't have the standard in front of me, but can class members be initialized 
with parens?

> int x(3);


If so, should InClassInitStyle be merged with VarDecl::InitializationStyle? 
(And CXXNewExpr::InitializationStyle?) They're all basically the same enum.

Jordan


On Jun 9, 2012, at 8:12 PM, Richard Smith wrote:

> Author: rsmith
> Date: Sat Jun  9 22:12:00 2012
> New Revision: 158288
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=158288&view=rev
> Log:
> PR13064: Store whether an in-class initializer uses direct or copy
> initialization, and use that information to produce the right kind of
> initialization during template instantiation.

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to