]> granicus.if.org Git - clang/commitdiff
Missed a couple "_IMPL" suffixes.
authorSteve Naroff <snaroff@apple.com>
Mon, 10 Mar 2008 23:33:22 +0000 (23:33 +0000)
committerSteve Naroff <snaroff@apple.com>
Mon, 10 Mar 2008 23:33:22 +0000 (23:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48191 91177308-0d34-0410-b5e6-96231b3b80d8

Driver/RewriteTest.cpp

index fc682326c296c898a1c83e14a464df64f3fa3d38..c9779a45478ad8ed50b1cceb37e350ab6f2f355a 100644 (file)
@@ -2183,6 +2183,8 @@ void RewriteTest::SynthesizeObjCInternalStruct(ObjCInterfaceDecl *CDecl,
     endBuf += Lexer::MeasureTokenLength(LocEnd, *SM);
     Result += " {\n    struct ";
     Result += RCDecl->getName();
+    if (LangOpts.Microsoft)
+      Result += "_IMPL";
     // Note: We don't name the field decl. This simplifies the "codegen" for
     // accessing a superclasses instance variables (and is similar to what gcc
     // does internally). The unnamed struct field feature is enabled with
@@ -2751,6 +2753,8 @@ void RewriteTest::RewriteObjCClassMetaData(ObjCImplementationDecl *IDecl,
     // class has size. Must synthesize its size.
     Result += ",sizeof(struct ";
     Result += CDecl->getName();
+    if (LangOpts.Microsoft)
+      Result += "_IMPL";
     Result += ")";
   }
   if (NumIvars > 0) {