[all-commits] [llvm/llvm-project] 13fa4e: PR42108 Consistently diagnose binding a reference ...
Richard Smith via All-commits
all-commits at lists.llvm.org
Sun Jan 19 18:16:51 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 13fa4e2e5ae6ab5403be19e24415e0c7a5569681
https://github.com/llvm/llvm-project/commit/13fa4e2e5ae6ab5403be19e24415e0c7a5569681
Author: Richard Smith <richard at metafoo.co.uk>
Date: 2020-01-19 (Sun, 19 Jan 2020)
Changed paths:
M clang/lib/Sema/SemaExprCXX.cpp
M clang/lib/Sema/SemaTemplate.cpp
M clang/test/SemaTemplate/temp_arg_nontype_cxx1z.cpp
Log Message:
-----------
PR42108 Consistently diagnose binding a reference template parameter to
a temporary.
We previously failed to materialize a temporary when performing an
implicit conversion to a reference type, resulting in our thinking the
argument was a value rather than a reference in some cases.
More information about the All-commits
mailing list