Loading clang/test/Analysis/string.c +2 −2 Original line number Diff line number Diff line Loading @@ -68,7 +68,7 @@ label: } void strlen_subregion() { struct two_strings { char a[2], b[2] }; struct two_strings { char a[2], b[2]; }; extern void use_two_strings(struct two_strings *); struct two_strings z; Loading Loading @@ -200,7 +200,7 @@ label: } void strnlen_subregion() { struct two_stringsn { char a[2], b[2] }; struct two_stringsn { char a[2], b[2]; }; extern void use_two_stringsn(struct two_stringsn *); struct two_stringsn z; Loading clang/test/Sema/align-x86.c +1 −1 Original line number Diff line number Diff line Loading @@ -14,7 +14,7 @@ short chk1[__alignof__(g3) == 8 ? 1 : -1]; short chk2[__alignof__(_Complex double) == 8 ? 1 : -1]; // PR6362 struct __attribute__((packed)) {unsigned int a} g4; struct __attribute__((packed)) {unsigned int a;} g4; short chk1[__alignof__(g4) == 1 ? 1 : -1]; short chk2[__alignof__(g4.a) == 1 ? 1 : -1]; clang/test/Sema/anonymous-struct-union.c +1 −1 Original line number Diff line number Diff line Loading @@ -94,7 +94,7 @@ struct {}; // expected-warning{{declaration does not declare anything}} struct s2 { union { int a; } } // expected-warning{{expected ';' at end of declaration list}} }; // expected-error{{expected member name or ';' after declaration specifiers}} // Make sure we don't a.k.a. anonymous structs. Loading clang/test/Sema/arm-layout.c +1 −1 Original line number Diff line number Diff line Loading @@ -42,7 +42,7 @@ check(s3_offset_0, __builtin_offsetof(struct s3, field0) == 0); check(s3_offset_1, __builtin_offsetof(struct s3, field2) == 7); struct s4 { int field0 : 4 int field0 : 4; }; #ifdef __ARM_EABI__ check(s4_size, sizeof(struct s4) == 4); Loading clang/test/Sema/const-eval.c +1 −1 Original line number Diff line number Diff line Loading @@ -58,7 +58,7 @@ EVAL_EXPR(29, (_Complex int)1 ? 1 : -1) // PR4027 + rdar://6808859 struct a { int x, y }; struct a { int x, y; }; static struct a V2 = (struct a)(struct a){ 1, 2}; static const struct a V1 = (struct a){ 1, 2}; Loading Loading
clang/test/Analysis/string.c +2 −2 Original line number Diff line number Diff line Loading @@ -68,7 +68,7 @@ label: } void strlen_subregion() { struct two_strings { char a[2], b[2] }; struct two_strings { char a[2], b[2]; }; extern void use_two_strings(struct two_strings *); struct two_strings z; Loading Loading @@ -200,7 +200,7 @@ label: } void strnlen_subregion() { struct two_stringsn { char a[2], b[2] }; struct two_stringsn { char a[2], b[2]; }; extern void use_two_stringsn(struct two_stringsn *); struct two_stringsn z; Loading
clang/test/Sema/align-x86.c +1 −1 Original line number Diff line number Diff line Loading @@ -14,7 +14,7 @@ short chk1[__alignof__(g3) == 8 ? 1 : -1]; short chk2[__alignof__(_Complex double) == 8 ? 1 : -1]; // PR6362 struct __attribute__((packed)) {unsigned int a} g4; struct __attribute__((packed)) {unsigned int a;} g4; short chk1[__alignof__(g4) == 1 ? 1 : -1]; short chk2[__alignof__(g4.a) == 1 ? 1 : -1];
clang/test/Sema/anonymous-struct-union.c +1 −1 Original line number Diff line number Diff line Loading @@ -94,7 +94,7 @@ struct {}; // expected-warning{{declaration does not declare anything}} struct s2 { union { int a; } } // expected-warning{{expected ';' at end of declaration list}} }; // expected-error{{expected member name or ';' after declaration specifiers}} // Make sure we don't a.k.a. anonymous structs. Loading
clang/test/Sema/arm-layout.c +1 −1 Original line number Diff line number Diff line Loading @@ -42,7 +42,7 @@ check(s3_offset_0, __builtin_offsetof(struct s3, field0) == 0); check(s3_offset_1, __builtin_offsetof(struct s3, field2) == 7); struct s4 { int field0 : 4 int field0 : 4; }; #ifdef __ARM_EABI__ check(s4_size, sizeof(struct s4) == 4); Loading
clang/test/Sema/const-eval.c +1 −1 Original line number Diff line number Diff line Loading @@ -58,7 +58,7 @@ EVAL_EXPR(29, (_Complex int)1 ? 1 : -1) // PR4027 + rdar://6808859 struct a { int x, y }; struct a { int x, y; }; static struct a V2 = (struct a)(struct a){ 1, 2}; static const struct a V1 = (struct a){ 1, 2}; Loading