You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// expected-error@first.h:* {{'CompareBitfieldPresence1' has different definitions in different modules; first difference is definition in module 'First.Hidden' found bitfield 'bitfieldPresence1'}}
230
-
// expected-note@second.h:* {{but in 'Second' found non-bitfield 'bitfieldPresence1'}}
229
+
// expected-error@first.h:* {{'CompareBitfieldPresence1' has different definitions in different modules; first difference is definition in module 'First.Hidden' found bit-field 'bitfieldPresence1'}}
230
+
// expected-note@second.h:* {{but in 'Second' found non-bit-field 'bitfieldPresence1'}}
// expected-error@first.h:* {{'CompareBitfieldPresence2' has different definitions in different modules; first difference is definition in module 'First.Hidden' found non-bitfield 'bitfieldPresence2'}}
233
-
// expected-note@second.h:* {{but in 'Second' found bitfield 'bitfieldPresence2'}}
232
+
// expected-error@first.h:* {{'CompareBitfieldPresence2' has different definitions in different modules; first difference is definition in module 'First.Hidden' found non-bit-field 'bitfieldPresence2'}}
233
+
// expected-note@second.h:* {{but in 'Second' found bit-field 'bitfieldPresence2'}}
234
234
structCompareBitfieldWidthcompareBitfieldWidth;
235
-
// expected-error@first.h:* {{'CompareBitfieldWidth' has different definitions in different modules; first difference is definition in module 'First.Hidden' found bitfield 'bitfieldWidth' with one width expression}}
236
-
// expected-note@second.h:* {{but in 'Second' found bitfield 'bitfieldWidth' with different width expression}}
235
+
// expected-error@first.h:* {{'CompareBitfieldWidth' has different definitions in different modules; first difference is definition in module 'First.Hidden' found bit-field 'bitfieldWidth' with one width expression}}
236
+
// expected-note@second.h:* {{but in 'Second' found bit-field 'bitfieldWidth' with different width expression}}
// expected-error@first.h:* {{'CompareBitfieldWidthExpression' has different definitions in different modules; first difference is definition in module 'First.Hidden' found bitfield 'bitfieldWidthExpression' with one width expression}}
239
-
// expected-note@second.h:* {{but in 'Second' found bitfield 'bitfieldWidthExpression' with different width expressio}}
238
+
// expected-error@first.h:* {{'CompareBitfieldWidthExpression' has different definitions in different modules; first difference is definition in module 'First.Hidden' found bit-field 'bitfieldWidthExpression' with one width expression}}
239
+
// expected-note@second.h:* {{but in 'Second' found bit-field 'bitfieldWidthExpression' with different width expressio}}
Copy file name to clipboardExpand all lines: clang/test/Modules/odr_hash.cpp
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -264,8 +264,8 @@ struct S6 {
264
264
};
265
265
#else
266
266
S6 s6;
267
-
// expected-error@second.h:* {{'Field::S6' has different definitions in different modules; first difference is definition in module 'SecondModule' found bitfield 'x'}}
268
-
// expected-note@first.h:* {{but in 'FirstModule' found non-bitfield 'x'}}
267
+
// expected-error@second.h:* {{'Field::S6' has different definitions in different modules; first difference is definition in module 'SecondModule' found bit-field 'x'}}
268
+
// expected-note@first.h:* {{but in 'FirstModule' found non-bit-field 'x'}}
269
269
#endif
270
270
271
271
#if defined(FIRST)
@@ -278,8 +278,8 @@ struct S7 {
278
278
};
279
279
#else
280
280
S7 s7;
281
-
// expected-error@second.h:* {{'Field::S7' has different definitions in different modules; first difference is definition in module 'SecondModule' found bitfield 'x' with one width expression}}
282
-
// expected-note@first.h:* {{but in 'FirstModule' found bitfield 'x' with different width expression}}
281
+
// expected-error@second.h:* {{'Field::S7' has different definitions in different modules; first difference is definition in module 'SecondModule' found bit-field 'x' with one width expression}}
282
+
// expected-note@first.h:* {{but in 'FirstModule' found bit-field 'x' with different width expression}}
283
283
#endif
284
284
285
285
#if defined(FIRST)
@@ -292,8 +292,8 @@ struct S8 {
292
292
};
293
293
#else
294
294
S8 s8;
295
-
// expected-error@second.h:* {{'Field::S8' has different definitions in different modules; first difference is definition in module 'SecondModule' found bitfield 'x' with one width expression}}
296
-
// expected-note@first.h:* {{but in 'FirstModule' found bitfield 'x' with different width expression}}
295
+
// expected-error@second.h:* {{'Field::S8' has different definitions in different modules; first difference is definition in module 'SecondModule' found bit-field 'x' with one width expression}}
296
+
// expected-note@first.h:* {{but in 'FirstModule' found bit-field 'x' with different width expression}}
0 commit comments