HomePhabricator

PR22465: when performing list-initialization for a class type C, if we see an

Description

PR22465: when performing list-initialization for a class type C, if we see an
initializer of the form {x}, where x is of type C or a type derived from C,
perform *non-list* initialization of the entity from x, but create a
CXXConstructExpr that knows that we used list-initialization syntax.

Plus some fixes to ensure we mangle correctly in this and related cases.

Details

Committed
rsmithFeb 4 2015, 11:02 PM
Parents
rL228275: [OPENMP] Initial codegen for 'single' directive.
Branches
Unknown
Tags
Unknown

Event Timeline

chapuni added subscribers: Unknown Object (MLST), chapuni.Feb 5 2015, 3:15 PM
chapuni added inline comments.
/cfe/trunk/lib/Sema/SemaInit.cpp
3177

Did you mean IsListInit ? Fixed in r228355.