Skip to content
Commit 8d082d18 authored by Richard Smith's avatar Richard Smith
Browse files

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
parent 1b23158c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment