summaryrefslogtreecommitdiffstats
path: root/clang/test/ASTMerge/struct/Inputs
diff options
context:
space:
mode:
authorGabor Horvath <xazax.hun@gmail.com>2017-04-03 21:06:45 +0000
committerGabor Horvath <xazax.hun@gmail.com>2017-04-03 21:06:45 +0000
commit3b392bb8d85d3cd6cf265e940884394d5f25d641 (patch)
treebfc48f843c0d8d23a54741b624dee16b96cd6c45 /clang/test/ASTMerge/struct/Inputs
parente4bda114530953554602e1e88db35f1ce65e3ed9 (diff)
downloadbcm5719-llvm-3b392bb8d85d3cd6cf265e940884394d5f25d641.tar.gz
bcm5719-llvm-3b392bb8d85d3cd6cf265e940884394d5f25d641.zip
Revert r299355 "[ASTImporter] Fix for importing unnamed structs"
It breaks windows bots. llvm-svn: 299386
Diffstat (limited to 'clang/test/ASTMerge/struct/Inputs')
-rw-r--r--clang/test/ASTMerge/struct/Inputs/struct1.c62
-rw-r--r--clang/test/ASTMerge/struct/Inputs/struct2.c62
2 files changed, 0 insertions, 124 deletions
diff --git a/clang/test/ASTMerge/struct/Inputs/struct1.c b/clang/test/ASTMerge/struct/Inputs/struct1.c
index a85aec70a84..0f3e8b9bc3e 100644
--- a/clang/test/ASTMerge/struct/Inputs/struct1.c
+++ b/clang/test/ASTMerge/struct/Inputs/struct1.c
@@ -77,65 +77,3 @@ typedef struct {
} S13;
S13 x13;
-
-// Matches
-struct Unnamed {
- union {
- struct {
- int i;
- } S;
- struct {
- float i;
- } R;
- } U;
-} x14;
-
-// Matches
-struct DeepUnnamed {
- union {
- union {
- struct {
- long i;
- } S;
- struct {
- int i;
- } R;
- } U1;
- union {
- struct {
- long i;
- } S;
- struct {
- float i;
- } T;
- } U2;
- } U;
- struct {
- long i;
- } V;
-} x15;
-
-// Mismatch due to unnamed struct used internally
-struct DeepUnnamedError {
- union {
- union {
- struct {
- long i;
- } S;
- struct {
- int i;
- } R;
- } U1;
- union {
- struct {
- long i; // Mismatch here.
- } S;
- struct {
- float i;
- } T;
- } U2;
- } U;
- struct {
- long i;
- } V;
-} x16;
diff --git a/clang/test/ASTMerge/struct/Inputs/struct2.c b/clang/test/ASTMerge/struct/Inputs/struct2.c
index 49fe36d823d..7fe17a576b2 100644
--- a/clang/test/ASTMerge/struct/Inputs/struct2.c
+++ b/clang/test/ASTMerge/struct/Inputs/struct2.c
@@ -74,65 +74,3 @@ typedef struct {
} S13;
S13 x13;
-
-// Matches
-struct Unnamed {
- union {
- struct {
- int i;
- } S;
- struct {
- float i;
- } R;
- } U;
-} x14;
-
-// Matches
-struct DeepUnnamed {
- union {
- union {
- struct {
- long i;
- } S;
- struct {
- int i;
- } R;
- } U1;
- union {
- struct {
- long i;
- } S;
- struct {
- float i;
- } T;
- } U2;
- } U;
- struct {
- long i;
- } V;
-} x15;
-
-// Mismatch due to unnamed struct used internally
-struct DeepUnnamedError {
- union {
- union {
- struct {
- long i;
- } S;
- struct {
- int i;
- } R;
- } U1;
- union {
- struct {
- float i; // Mismatch here.
- } S;
- struct {
- float i;
- } T;
- } U2;
- } U;
- struct {
- long i;
- } V;
-} x16;
OpenPOWER on IntegriCloud