Improve the diagnostic that complains about binding an rvalue
commite2c6051153df6855fe423bd22209698d3b5f3aa5
authorDouglas Gregor <doug.gregor@gmail.com>
Fri, 21 Jan 2011 01:04:33 +0000 (21 01:04 +0000)
committerDouglas Gregor <doug.gregor@gmail.com>
Fri, 21 Jan 2011 01:04:33 +0000 (21 01:04 +0000)
tree791a10ad30b3a6db9d00db78989941d101396223
parent1e21dc75e0d9b225963502c12c2af55b2170e2ab
Improve the diagnostic that complains about binding an rvalue
reference to an lvalue.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123953 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaInit.cpp
test/SemaCXX/rval-references.cpp