diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2010-08-12 20:46:12 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2010-08-12 20:46:12 +0000 |
commit | 192b1464dce385ac1947eb8258c3a0cd4444c726 (patch) | |
tree | f0ffff413281422bb5a80b86e9ddc8abbe28b2b6 /lib/AST/ASTContext.cpp | |
parent | e737f5041a36d0befb39ffeed8d50ba15916d3da (diff) |
Fixes block type matching bug. Radar 8302845.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110950 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/ASTContext.cpp')
-rw-r--r-- | lib/AST/ASTContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/ASTContext.cpp b/lib/AST/ASTContext.cpp index 8051dca5a6..988bedb1c0 100644 --- a/lib/AST/ASTContext.cpp +++ b/lib/AST/ASTContext.cpp @@ -4336,7 +4336,7 @@ bool ASTContext::ObjCQualifiedIdTypesAreCompatible(QualType lhs, QualType rhs, // when comparing an id<P> on rhs with a static type on lhs, // static class must implement all of id's protocols directly or // indirectly through its super class. - if (lhsID->ClassImplementsProtocol(*I, false)) { + if (lhsID->ClassImplementsProtocol(*I, true)) { match = true; break; } |