[cfe-commits] r53849 - /cfe/trunk/lib/Sema/SemaDeclObjC.cpp
Argiris Kirtzidis
akyrtzi at gmail.com
Mon Jul 21 02:18:39 PDT 2008
Author: akirtzidis
Date: Mon Jul 21 04:18:38 2008
New Revision: 53849
URL: http://llvm.org/viewvc/llvm-project?rev=53849&view=rev
Log:
Change 'MDecl' to 'MD' to fix redefinition compiler error in MSVC++.
Modified:
cfe/trunk/lib/Sema/SemaDeclObjC.cpp
Modified: cfe/trunk/lib/Sema/SemaDeclObjC.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDeclObjC.cpp?rev=53849&r1=53848&r2=53849&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaDeclObjC.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDeclObjC.cpp Mon Jul 21 04:18:38 2008
@@ -364,9 +364,9 @@
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));
}
}
More information about the cfe-commits
mailing list