]> granicus.if.org Git - clang/commit
Tweak Sema::CheckReferenceInit so that it (optionally) computes an
authorDouglas Gregor <dgregor@apple.com>
Wed, 29 Oct 2008 02:00:59 +0000 (02:00 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 29 Oct 2008 02:00:59 +0000 (02:00 +0000)
commit15da57e66cade0c2cab752f925e838b22daadafc
tree11b61276aa4a94716bb8080f667b33dbb5d16f98
parentce63911d6bdd795f63365723d4cdaa6998529e1e
Tweak Sema::CheckReferenceInit so that it (optionally) computes an
ImplicitConversionSequence and, when doing so, following the specific
rules of [over.best.ics].

The computation of the implicit conversion sequences implements C++
[over.ics.ref], but we do not (yet) have ranking for implicit
conversion sequences that use reference binding.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58357 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/Sema.h
lib/Sema/SemaDeclCXX.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaOverload.cpp
lib/Sema/SemaOverload.h
test/SemaCXX/overload-call.cpp