]> granicus.if.org Git - clang/commit
Add implicit conversions for Objective-C qualified ids, e.g.,
authorDouglas Gregor <dgregor@apple.com>
Thu, 27 Nov 2008 01:19:21 +0000 (01:19 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 27 Nov 2008 01:19:21 +0000 (01:19 +0000)
commit7ca09760ee77ad03eac8212e580338bacd46f4d4
tree70feb1219a411169ea8fea38cc396e10c90ffc95
parentbf40818928d2a7f76a4ba9abee469a7d02225ab2
Add implicit conversions for Objective-C qualified ids, e.g.,

  id<P0>

The intended overloading behavior of these entities isn't entirely
clear, and GCC seems to have some strange limitations (e.g., the
inability to overload on id<P0> vs. id<P1>). We'll want to revisit
these semantics and determine just how Objective-C++ overloading
should really work.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60142 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaOverload.cpp
test/SemaObjCXX/overload.mm