diff options
author | Chris Lattner <sabre@nondot.org> | 2008-07-27 00:05:05 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-07-27 00:05:05 +0000 |
commit | 1b63eef830b7a2501f1ab8e8fa38068e5e07ed32 (patch) | |
tree | 5579d1d5cef3db0afb92f1aaa5e87e076c82233b | |
parent | beb77b1edcd05cc0092ad98b3a8be2ded8a1476f (diff) |
remove two uses of getCanonicalType I missed.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54114 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Sema/SemaDeclObjC.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Sema/SemaDeclObjC.cpp b/lib/Sema/SemaDeclObjC.cpp index 56e97c0461..3478de5bf5 100644 --- a/lib/Sema/SemaDeclObjC.cpp +++ b/lib/Sema/SemaDeclObjC.cpp @@ -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, |