From 4fdd29b13e75f6f1802a925ac3d58f98eaf5d895 Mon Sep 17 00:00:00 2001 From: Steve Naroff Date: Mon, 24 Mar 2008 22:03:25 +0000 Subject: [PATCH] Add a couple files to VC++ project and cleanup an "#if 0". git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48748 91177308-0d34-0410-b5e6-96231b3b80d8 --- Driver/RewriteTest.cpp | 2 -- win32/clangDriver/clangDriver.vcproj | 4 ++++ win32/clangRewrite/clangRewrite.vcproj | 4 ++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Driver/RewriteTest.cpp b/Driver/RewriteTest.cpp index 89de81bb38..74fbab76cd 100644 --- a/Driver/RewriteTest.cpp +++ b/Driver/RewriteTest.cpp @@ -353,10 +353,8 @@ void RewriteTest::Initialize(ASTContext &context) { S += "extern int __CFConstantStringClassReference[];\n"; S += "#define __NSCONSTANTSTRINGIMPL\n"; S += "#endif\n"; -#if 0 if (LangOpts.Microsoft) S += "#define __attribute__(X)\n"; -#endif if (IsHeader) { // insert the whole string when rewriting a header file InsertText(SourceLocation::getFileLoc(MainFileID, 0), S.c_str(), S.size()); diff --git a/win32/clangDriver/clangDriver.vcproj b/win32/clangDriver/clangDriver.vcproj index 877f01f2db..63bb67730c 100644 --- a/win32/clangDriver/clangDriver.vcproj +++ b/win32/clangDriver/clangDriver.vcproj @@ -197,6 +197,10 @@ RelativePath="..\..\Driver\DiagChecker.cpp" > + + diff --git a/win32/clangRewrite/clangRewrite.vcproj b/win32/clangRewrite/clangRewrite.vcproj index 0df445eeb8..c8082df1e8 100644 --- a/win32/clangRewrite/clangRewrite.vcproj +++ b/win32/clangRewrite/clangRewrite.vcproj @@ -148,6 +148,10 @@ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx" UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}" > + +