diff options
author | Steve Naroff <snaroff@apple.com> | 2008-03-10 23:33:22 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2008-03-10 23:33:22 +0000 |
commit | ba9ac4e5b86842216a0a0eef5886d41e0d7fed0e (patch) | |
tree | 9cbdfc93b5c1580ef3891f40409e32183979ac7f /Driver/RewriteTest.cpp | |
parent | 61ed9caca5dd6a9b9ccee7fb51296234e6cc68ad (diff) |
Missed a couple "_IMPL" suffixes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48191 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Driver/RewriteTest.cpp')
-rw-r--r-- | Driver/RewriteTest.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Driver/RewriteTest.cpp b/Driver/RewriteTest.cpp index fc682326c2..c9779a4547 100644 --- a/Driver/RewriteTest.cpp +++ b/Driver/RewriteTest.cpp @@ -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) { |