]> granicus.if.org Git - clang/commit
We don't actually need to check the implicit object argument's
authorDouglas Gregor <dgregor@apple.com>
Thu, 19 Aug 2010 17:02:01 +0000 (17:02 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 19 Aug 2010 17:02:01 +0000 (17:02 +0000)
commit06ebc98ff017fadfaed515bc06f50ce94ca468d6
treeea913db3f33c5ccda8859e96a57434ed08e5c6e0
parentb2842aa3a76b53033e1619c494e972cdbe190939
We don't actually need to check the implicit object argument's
conversion a second time for a conversion candidate (with the real
acting context), because the only problems we would find are access or
ambiguity issues that won't be diagnosed until we pick this
candidate. Add a test case to prove it to myself.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111526 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaOverload.cpp
test/SemaCXX/conversion-function.cpp