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 | 753783a06290b216e35e01c90841a219d9f96271 (patch) | |
| tree | 11e76c847588310bd88bd95d9d7619c9594e05ad /clang/lib/AST/ASTContext.cpp | |
| parent | 0910689353172d68f16293c35e9afdfcdd9cc506 (diff) | |
| download | bcm5719-llvm-753783a06290b216e35e01c90841a219d9f96271.tar.gz bcm5719-llvm-753783a06290b216e35e01c90841a219d9f96271.zip | |
Fixes block type matching bug. Radar 8302845.
llvm-svn: 110950
Diffstat (limited to 'clang/lib/AST/ASTContext.cpp')
| -rw-r--r-- | clang/lib/AST/ASTContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/ASTContext.cpp b/clang/lib/AST/ASTContext.cpp index 8051dca5a6a..988bedb1c03 100644 --- a/clang/lib/AST/ASTContext.cpp +++ b/clang/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; } |

