Change 'MDecl' to 'MD' to fix redefinition compiler error in MSVC++.

llvm-svn: 53849
This commit is contained in:
Argyrios Kyrtzidis 2008-07-21 09:18:38 +00:00
parent 046485640d
commit b3fa8639e1
1 changed files with 3 additions and 3 deletions

View File

@ -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));
}
}