diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2008-07-21 09:18:38 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2008-07-21 09:18:38 +0000 |
commit | e8f0d3035886e2bba5833d8764e262ece18c7abd (patch) | |
tree | f48cfded9fe9a29b410e28dd890e904a15803af8 /lib/Sema/SemaDeclObjC.cpp | |
parent | cfb0ef567607c322697f40db3b0cc80a033a10d4 (diff) |
Change 'MDecl' to 'MD' to fix redefinition compiler error in MSVC++.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@53849 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaDeclObjC.cpp')
-rw-r--r-- | lib/Sema/SemaDeclObjC.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Sema/SemaDeclObjC.cpp b/lib/Sema/SemaDeclObjC.cpp index 2f12a6ffda..8cceda2966 100644 --- a/lib/Sema/SemaDeclObjC.cpp +++ b/lib/Sema/SemaDeclObjC.cpp @@ -364,9 +364,9 @@ Sema::MergeProtocolPropertiesIntoClass(ObjCInterfaceDecl *IDecl, E = IDecl->protocol_end(); P != E; ++P) MergeProtocolPropertiesIntoClass(IDecl, *P); } else { - ObjCProtocolDecl *MDecl = cast<ObjCProtocolDecl>(ClassDecl); - for (ObjCProtocolDecl::protocol_iterator P = MDecl->protocol_begin(), - E = MDecl->protocol_end(); P != E; ++P) + ObjCProtocolDecl *MD = cast<ObjCProtocolDecl>(ClassDecl); + for (ObjCProtocolDecl::protocol_iterator P = MD->protocol_begin(), + E = MD->protocol_end(); P != E; ++P) MergeOneProtocolPropertiesIntoClass(IDecl, (*P)); } } |