diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-09-04 22:13:39 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-09-04 22:13:39 +0000 |
commit | 8d082d187e573988ef9e3e5ecbbe2553bdeb5a70 (patch) | |
tree | 6e8818fcd9c3a272cd2e6d81be9718711faa29c8 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 1b23158ce419a1c67a27aa45ec9f2a5b26b6b9a9 (diff) | |
download | llvm-8d082d187e573988ef9e3e5ecbbe2553bdeb5a70.zip llvm-8d082d187e573988ef9e3e5ecbbe2553bdeb5a70.tar.gz llvm-8d082d187e573988ef9e3e5ecbbe2553bdeb5a70.tar.bz2 |
PR20844: If we fail to list-initialize a reference, map to the referenced type
before retrying the initialization to produce diagnostics. Otherwise, we may
fail to produce any diagnostics, and silently produce invalid AST in a -Asserts
build. Also add a note to this codepath to make it more clear why we were
trying to create a temporary.
llvm-svn: 217197
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions