commit | 3082be2f92c5d273ada989c1a13bcb46bc14e4c7 | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Fri Sep 06 01:22:42 2013 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Fri Sep 06 01:22:42 2013 +0000 |
tree | 1d2ab6044ff5188502aafed990e2671ee2244396 | |
parent | 1ac6c93b7fc1dc29cc847079342172c2cc23c143 [diff] |
When creating an implicit conversion sequence for a reference of type T from an initializer list containing a single element of type T, be sure to mark the sequence as a list conversion sequence so that it is known to be worse than an implicit conversion sequence that initializes a std::initializer_list object. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190115 91177308-0d34-0410-b5e6-96231b3b80d8