From e8f0d3035886e2bba5833d8764e262ece18c7abd Mon Sep 17 00:00:00 2001 From: Argyrios Kyrtzidis Date: Mon, 21 Jul 2008 09:18:38 +0000 Subject: [PATCH] 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 --- lib/Sema/SemaDeclObjC.cpp | 6 +++--- 1 file 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(ClassDecl); - for (ObjCProtocolDecl::protocol_iterator P = MDecl->protocol_begin(), - E = MDecl->protocol_end(); P != E; ++P) + ObjCProtocolDecl *MD = cast(ClassDecl); + for (ObjCProtocolDecl::protocol_iterator P = MD->protocol_begin(), + E = MD->protocol_end(); P != E; ++P) MergeOneProtocolPropertiesIntoClass(IDecl, (*P)); } } -- 2.50.1