diff options
| author | Douglas Gregor <dgregor@apple.com> | 2011-01-21 00:52:42 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2011-01-21 00:52:42 +0000 |
| commit | b2855ad68d93824faf47c09bbef90ba74157f0f4 (patch) | |
| tree | f97eb5557e3ec55a462d4b776e7f712c4458ddda /lib/CodeGen/CodeGenModule.cpp | |
| parent | 564cb06b1f010ab3c5e316ac79ba6cfdd72e9c1d (diff) | |
| download | clang-b2855ad68d93824faf47c09bbef90ba74157f0f4.tar.gz clang-b2855ad68d93824faf47c09bbef90ba74157f0f4.tar.bz2 clang-b2855ad68d93824faf47c09bbef90ba74157f0f4.tar.xz | |
More work to bring reference binding up to the latest C++0x
specification. In particular, an rvalue reference can bind to an
initializer expression that is an lvalue if the referent type and the
initializer expression type are not reference-related. This is a newer
formulation to the previous "rvalue references can never bind to
lvalues" rule.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123952 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
