forked from OSchip/llvm-project
remove two uses of getCanonicalType I missed.
llvm-svn: 54114
This commit is contained in:
parent
613fdff902
commit
35ffe331b9
|
@ -543,7 +543,8 @@ void Sema::CheckImplementationIvars(ObjCImplementationDecl *ImpDecl,
|
|||
ObjCIvarDecl* ClsIvar = *IVI;
|
||||
assert (ImplIvar && "missing implementation ivar");
|
||||
assert (ClsIvar && "missing class ivar");
|
||||
if (ImplIvar->getCanonicalType() != ClsIvar->getCanonicalType()) {
|
||||
if (Context.getCanonicalType(ImplIvar->getType()) !=
|
||||
Context.getCanonicalType(ClsIvar->getType())) {
|
||||
Diag(ImplIvar->getLocation(), diag::err_conflicting_ivar_type,
|
||||
ImplIvar->getIdentifier()->getName());
|
||||
Diag(ClsIvar->getLocation(), diag::err_previous_definition,
|
||||
|
|
Loading…
Reference in New Issue