aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2008-03-24 22:03:25 +0000
committerSteve Naroff <snaroff@apple.com>2008-03-24 22:03:25 +0000
commit4fdd29b13e75f6f1802a925ac3d58f98eaf5d895 (patch)
treeec3920eb8fc4731815c927d5e733a6a75bd7f736
parentf24964c14279f6c4f92f81f9e35514d362b5cf7c (diff)
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
-rw-r--r--Driver/RewriteTest.cpp2
-rw-r--r--win32/clangDriver/clangDriver.vcproj4
-rw-r--r--win32/clangRewrite/clangRewrite.vcproj4
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
@@ -198,6 +198,10 @@
>
</File>
<File
+ RelativePath="..\..\Driver\HTMLPrint.cpp"
+ >
+ </File>
+ <File
RelativePath="..\..\Driver\PrintParserCallbacks.cpp"
>
</File>
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
@@ -149,6 +149,10 @@
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
+ RelativePath="..\..\lib\Rewrite\HTMLRewrite.cpp"
+ >
+ </File>
+ <File
RelativePath="..\..\lib\Rewrite\Rewriter.cpp"
>
</File>