[Sema] Prevent binding incompatible addr space ref to temporaries
References to arbitrary address spaces can't always be bound to
temporaries. This change extends the reference binding logic to
check that the address space of a temporary can be implicitly
converted to the address space in a reference when temporary
materialization is performed.
Differential Revision: https://reviews.llvm.org/D61318
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@362604
91177308-0d34-0410-b5e6-
96231b3b80d8