diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-04-27 00:01:52 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-04-27 00:01:52 +0000 |
commit | 0f7b3dcece1475130e2946d66dbe3075059b31f7 (patch) | |
tree | 2bddbbdae2aa3406b644988bec7b029ea5ef0e8d /lib/Sema/SemaExpr.cpp | |
parent | 62055b0618fafb4747e783ba3fedd7bc7d57d27d (diff) |
When comparing Objective-C pointers during overload resolution to
determine which is a better conversion to "void*", be sure to perform
the comparison using the safe-for-id
ASTContext::canAssignObjCInterfaces() rather than the asserts-with-id
ASTContext::canAssignObjCInterfaces().
Fixes <rdar://problem/9327203>.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130259 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaExpr.cpp')
0 files changed, 0 insertions, 0 deletions