]> granicus.if.org Git - clang/commit
A CXXExprWithTemporaries expression is an lvalue if its subexpression
authorDouglas Gregor <dgregor@apple.com>
Sat, 19 Dec 2009 07:07:47 +0000 (07:07 +0000)
committerDouglas Gregor <dgregor@apple.com>
Sat, 19 Dec 2009 07:07:47 +0000 (07:07 +0000)
commit2d48e7811216b2a2d15dcf7e4be8f73ad48cc60a
tree1dba6973b7aa27aeef79f4b8ed7a035bbf12c3c6
parent17ef1660b209f1a2294b9ddee86846c6fd8d5ec0
A CXXExprWithTemporaries expression is an lvalue if its subexpression
is an lvalue. Fixes PR5787.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91765 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/Expr.cpp
test/CXX/dcl.decl/dcl.init/dcl.init.ref/basic.cpp [new file with mode: 0644]