aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2008-03-27 22:59:54 +0000
committerSteve Naroff <snaroff@apple.com>2008-03-27 22:59:54 +0000
commit9630ec5b6785e5b6e1c71aeddcad05005beb7483 (patch)
treebb9308d35de08e46830ea420200b977907d29044
parentba92b2ed976e29ea05f0f5afabaf9488c1096beb (diff)
Add some of Ted's recent work to the VC++ project file.
Fix a couple bozo bugs in the rewriter. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48903 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--Driver/RewriteTest.cpp3
-rw-r--r--win32/clangAnalysis/clangAnalysis.vcproj8
-rw-r--r--win32/clangDriver/clangDriver.vcproj4
3 files changed, 14 insertions, 1 deletions
diff --git a/Driver/RewriteTest.cpp b/Driver/RewriteTest.cpp
index d80b924ef0..afd34b968e 100644
--- a/Driver/RewriteTest.cpp
+++ b/Driver/RewriteTest.cpp
@@ -281,6 +281,7 @@ void RewriteTest::Initialize(ASTContext &context) {
NSStringRecord = 0;
CurMethodDecl = 0;
SuperStructDecl = 0;
+ ConstantStringDecl = 0;
BcLabelCount = 0;
SuperContructorFunctionDecl = 0;
NumObjCStringLiterals = 0;
@@ -1844,7 +1845,7 @@ QualType RewriteTest::getConstantStringStructType() {
// long length;
FieldTypes[3] = Context->LongTy;
// Create fields
- FieldDecl *FieldDecls[2];
+ FieldDecl *FieldDecls[4];
for (unsigned i = 0; i < 4; ++i)
FieldDecls[i] = FieldDecl::Create(*Context, SourceLocation(), 0,
diff --git a/win32/clangAnalysis/clangAnalysis.vcproj b/win32/clangAnalysis/clangAnalysis.vcproj
index 6be0799e4b..ac1b810726 100644
--- a/win32/clangAnalysis/clangAnalysis.vcproj
+++ b/win32/clangAnalysis/clangAnalysis.vcproj
@@ -153,6 +153,10 @@
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
+ RelativePath="..\..\lib\Analysis\BasicObjCFoundationChecks.cpp"
+ >
+ </File>
+ <File
RelativePath="..\..\lib\Analysis\BasicValueFactory.cpp"
>
</File>
@@ -189,6 +193,10 @@
>
</File>
<File
+ RelativePath="..\..\lib\Analysis\PathDiagnostic.cpp"
+ >
+ </File>
+ <File
RelativePath="..\..\lib\Analysis\ProgramPoint.cpp"
>
</File>
diff --git a/win32/clangDriver/clangDriver.vcproj b/win32/clangDriver/clangDriver.vcproj
index 63bb67730c..7ae983292f 100644
--- a/win32/clangDriver/clangDriver.vcproj
+++ b/win32/clangDriver/clangDriver.vcproj
@@ -198,6 +198,10 @@
>
</File>
<File
+ RelativePath="..\..\Driver\HTMLDiagnostics.cpp"
+ >
+ </File>
+ <File
RelativePath="..\..\Driver\HTMLPrint.cpp"
>
</File>