зеркало из https://github.com/microsoft/clang-1.git
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
This commit is contained in:
Родитель
ba92b2ed97
Коммит
9630ec5b67
|
@ -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"
|
||||
>
|
||||
|
|
Загрузка…
Ссылка в новой задаче