commit | 5e6fcd4ba9cc4cab5a6be0a76bca9d51480ea346 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Tue Feb 08 02:14:35 2011 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Tue Feb 08 02:14:35 2011 +0000 |
tree | 4e5fc697c1c96ed8bc105e826374cfe7c5dd4a13 | |
parent | 68cf1a5a01ba43ed56a8624632fd65e0804430ac [diff] |
Sema::MaybeBindToTemporary() shouldn't treat any expression returning a glvalue as a temporary. Previously, we were enumerating all of the cases that coul return glvalues and might be called with Sema::MaybeBindToTemporary(), but that was gross and we missed the Objective-C property reference case. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125070 91177308-0d34-0410-b5e6-96231b3b80d8