commit | 0fd8ff73630adab9a33123f23ef62fcf5c3cf326 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Fri Mar 26 20:59:55 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Fri Mar 26 20:59:55 2010 +0000 |
tree | f5e46d451e16aba273a066d1e8aeecd0342fb53e | |
parent | 29ecaba4ebe8c9a2627cf405e36473b764cc5cfd [diff] |
When trying to determine whether one operand of a conditional expression can be converted to the type of another, only apply the lvalue-to-rvalue conversion to the type of the expression we're converting, *not* the array-to-pointer or function-to-pointer conversions. Fixes PR6595. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99652 91177308-0d34-0410-b5e6-96231b3b80d8