[cfe-commits] r48191 - /cfe/trunk/Driver/RewriteTest.cpp
Steve Naroff
snaroff at apple.com
Mon Mar 10 16:33:23 PDT 2008
Author: snaroff
Date: Mon Mar 10 18:33:22 2008
New Revision: 48191
URL: http://llvm.org/viewvc/llvm-project?rev=48191&view=rev
Log:
Missed a couple "_IMPL" suffixes.
Modified:
cfe/trunk/Driver/RewriteTest.cpp
Modified: cfe/trunk/Driver/RewriteTest.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Driver/RewriteTest.cpp?rev=48191&r1=48190&r2=48191&view=diff
==============================================================================
--- cfe/trunk/Driver/RewriteTest.cpp (original)
+++ cfe/trunk/Driver/RewriteTest.cpp Mon Mar 10 18:33:22 2008
@@ -2183,6 +2183,8 @@
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 @@
// class has size. Must synthesize its size.
Result += ",sizeof(struct ";
Result += CDecl->getName();
+ if (LangOpts.Microsoft)
+ Result += "_IMPL";
Result += ")";
}
if (NumIvars > 0) {
More information about the cfe-commits
mailing list