diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-05-07 19:42:26 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-05-07 19:42:26 +0000 |
commit | 496e8b345c21329608b2998038db3508896a66ad (patch) | |
tree | 21fcaa87e83b7e18147a1780f3eaefc32e6aebb1 /clang/lib/Basic/SourceManager.cpp | |
parent | 7828ab1ed9c2b499c249cedfd301e116a66c21f3 (diff) | |
download | llvm-496e8b345c21329608b2998038db3508896a66ad.zip llvm-496e8b345c21329608b2998038db3508896a66ad.tar.gz llvm-496e8b345c21329608b2998038db3508896a66ad.tar.bz2 |
Reapply the reference-binding patch applied below, along with a fix to
ensure that we complete the type when we need to look at constructors
during reference binding.
When determining whether the two types involved in reference binding
are reference-compatible, reference-related, etc., do not complete the
type of the reference itself because it is not necessary to determine
well-formedness of the program. Complete the type that we are binding
to, since that can affect whether we know about a derived-to-base
conversion.
Re-fixes PR7080.
llvm-svn: 103283
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions