commit | 66821b5515df8a366579d023e472f843ecfa59b2 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Sun Apr 18 09:22:00 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Sun Apr 18 09:22:00 2010 +0000 |
tree | d440c8047b9f0aef62beece8063b6f99a4e61fc4 | |
parent | 9dc58bb414394db3b886c0b6425a2738cb4cd785 [diff] |
When performing reference initialization for the purposes of overload resolution ([over.ics.ref]), we take some shortcuts required by the standard that effectively permit binding of a const volatile reference to an rvalue. We have to treat lightly here to avoid infinite recursion. Fixes PR6177. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101712 91177308-0d34-0410-b5e6-96231b3b80d8