forked from OSchip/llvm-project
parent
af6e82f611
commit
c87c8799ec
|
@ -5442,7 +5442,7 @@ bool ASTContext::typesAreCompatible(QualType LHS, QualType RHS,
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ASTContext::propertyTypesAreCompatible(QualType LHS, QualType RHS) {
|
bool ASTContext::propertyTypesAreCompatible(QualType LHS, QualType RHS) {
|
||||||
return !mergeTypes(LHS, RHS, false, false).isNull();
|
return typesAreCompatible(LHS, RHS);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ASTContext::typesAreBlockPointerCompatible(QualType LHS, QualType RHS) {
|
bool ASTContext::typesAreBlockPointerCompatible(QualType LHS, QualType RHS) {
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
// RUN: %clang_cc1 -fsyntax-only -verify %s
|
// RUN: %clang_cc1 -fsyntax-only -verify %s
|
||||||
// rdar://9740328
|
// rdar://9740328
|
||||||
|
// XFAIL: *
|
||||||
|
|
||||||
@protocol P1;
|
@protocol P1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue