forked from OSchip/llvm-project
Add some of Ted's recent work to the VC++ project file.
Fix a couple bozo bugs in the rewriter. llvm-svn: 48903
This commit is contained in:
parent
00a317694b
commit
60a9ef67e2
|
@ -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,
|
||||
|
|
|
@ -152,6 +152,10 @@
|
|||
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
|
||||
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\..\lib\Analysis\BasicObjCFoundationChecks.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\lib\Analysis\BasicValueFactory.cpp"
|
||||
>
|
||||
|
@ -188,6 +192,10 @@
|
|||
RelativePath="..\..\lib\Analysis\LiveVariables.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\lib\Analysis\PathDiagnostic.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\lib\Analysis\ProgramPoint.cpp"
|
||||
>
|
||||
|
|
|
@ -197,6 +197,10 @@
|
|||
RelativePath="..\..\Driver\DiagChecker.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\Driver\HTMLDiagnostics.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\Driver\HTMLPrint.cpp"
|
||||
>
|
||||
|
|
Loading…
Reference in New Issue