[cfe-commits] r158288 - in /cfe/trunk: include/clang/AST/ include/clang/Basic/ include/clang/Sema/ lib/AST/ lib/CodeGen/ lib/Parse/ lib/Rewrite/ lib/Sema/ lib/Serialization/ test/PCH/ test/SemaTemplate/

Jordan Rose jordan_rose at apple.com
Mon Jun 11 08:54:37 PDT 2012

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.


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.

More information about the cfe-commits mailing list