diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-07-16 21:33:43 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-07-16 21:33:43 +0000 |
| commit | 5332411cd7464979fe6ee2e7bf48f87fb8055f96 (patch) | |
| tree | b3392abbf3cc422004cf545934c16d6d83df5e3f /llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp | |
| parent | c8491d3d838c3bbc272bf80cb0d0d8e5c0bbab3e (diff) | |
| download | bcm5719-llvm-5332411cd7464979fe6ee2e7bf48f87fb8055f96.tar.gz bcm5719-llvm-5332411cd7464979fe6ee2e7bf48f87fb8055f96.zip | |
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
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp')
0 files changed, 0 insertions, 0 deletions

