summaryrefslogtreecommitdiffstats
path: root/clang/Driver/RewriteTest.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-04-06 04:47:34 +0000
committerChris Lattner <sabre@nondot.org>2008-04-06 04:47:34 +0000
commit0a5ff0d34aca98c70cd72c777c95622acedc6f50 (patch)
tree09a16abfc11ef817e14f13da94c8f0db17e9b992 /clang/Driver/RewriteTest.cpp
parente8e1e1131dba5edc8b91e769736feec2632fc2d7 (diff)
downloadbcm5719-llvm-0a5ff0d34aca98c70cd72c777c95622acedc6f50.tar.gz
bcm5719-llvm-0a5ff0d34aca98c70cd72c777c95622acedc6f50.zip
This patch contains these changes:
-Renamed ContextDecl -> DeclContext -Removed DeclContext pointer from FieldDecl -EnumDecl inherits from DeclContext, instead of TagDecl Patch by Argiris Kirtzidis! llvm-svn: 49261
Diffstat (limited to 'clang/Driver/RewriteTest.cpp')
-rw-r--r--clang/Driver/RewriteTest.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/clang/Driver/RewriteTest.cpp b/clang/Driver/RewriteTest.cpp
index 26bfa01b268..7be16993ecc 100644
--- a/clang/Driver/RewriteTest.cpp
+++ b/clang/Driver/RewriteTest.cpp
@@ -1839,8 +1839,7 @@ QualType RewriteTest::getSuperStructType() {
FieldDecl *FieldDecls[2];
for (unsigned i = 0; i < 2; ++i)
- FieldDecls[i] = FieldDecl::Create(*Context, SuperStructDecl,
- SourceLocation(), 0,
+ FieldDecls[i] = FieldDecl::Create(*Context, SourceLocation(), 0,
FieldTypes[i]);
SuperStructDecl->defineBody(FieldDecls, 4);
@@ -1867,8 +1866,7 @@ QualType RewriteTest::getConstantStringStructType() {
FieldDecl *FieldDecls[4];
for (unsigned i = 0; i < 4; ++i)
- FieldDecls[i] = FieldDecl::Create(*Context, ConstantStringDecl,
- SourceLocation(), 0,
+ FieldDecls[i] = FieldDecl::Create(*Context, SourceLocation(), 0,
FieldTypes[i]);
ConstantStringDecl->defineBody(FieldDecls, 4);
OpenPOWER on IntegriCloud