Skip to content
Commit 5332411c authored by Richard Smith's avatar Richard Smith
Browse files

When list-initializing an object of class type, if we pick an initializer list

constructor (and pass it an implicitly-generated std::initializer_list object),
be sure to mark the resulting construction as list-initialization. This fixes
an assert in template instantiation where we previously thought we'd got direct
non-list initialization without any parentheses.

llvm-svn: 213201
parent c8491d3d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment