]> granicus.if.org Git - clang/commit
When testing whether we can perform copy or move initialization, be
authorDouglas Gregor <dgregor@apple.com>
Tue, 31 Jul 2012 22:15:04 +0000 (22:15 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 31 Jul 2012 22:15:04 +0000 (22:15 +0000)
commit3c394c54511b27be0ff6968f159bba3521ab3c3e
treeec553f309f4b524856455f40d3489ced303bb7e3
parent0bc35e9e484ca66323f437a205baaa52d777260f
When testing whether we can perform copy or move initialization, be
sure to supply an initialization location. Fixes <rdar://problem/11951661>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161084 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaInit.cpp
test/SemaCXX/cxx0x-initializer-stdinitializerlist.cpp