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
Copy file name to clipboardExpand all lines: clang/test/SemaSYCL/deferred-diagnostics-emit.cpp
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -83,13 +83,13 @@ void setup_sycl_operation(const T VA[]) {
83
83
trickyFloatType malFloatTrick = 41;
84
84
// expected-error@+1 {{'__float128' is not supported on this target}}
85
85
floatDef malFloatDef = 44;
86
-
// expected-error@+2 {{'malFloat' requires 128 bit size '__float128' type support, but device 'spir64' does not support it}}
86
+
// expected-error@+2 {{'malFloat' requires 128 bit size '__float128' type support, but target 'spir64' does not support it}}
87
87
// expected-error@+1 {{'__float128' is not supported on this target}}
88
88
auto whatFloat = malFloat;
89
-
// expected-error@+2 {{'bar<__float128>' requires 128 bit size '__float128' type support, but device 'spir64' does not support it}}
89
+
// expected-error@+2 {{'bar<__float128>' requires 128 bit size '__float128' type support, but target 'spir64' does not support it}}
90
90
// expected-error@+1 {{'__float128' is not supported on this target}}
91
91
auto malAutoTemp5 = bar<__float128>();
92
-
// expected-error@+2 {{'bar<const __float128>' requires 128 bit size 'const __float128' type support, but device 'spir64' does not support it}}
92
+
// expected-error@+2 {{'bar<const __float128>' requires 128 bit size 'const __float128' type support, but target 'spir64' does not support it}}
93
93
// expected-error@+1 {{'__float128' is not supported on this target}}
94
94
auto malAutoTemp6 = bar<trickyFloatType>();
95
95
// expected-error@+1 {{'__float128' is not supported on this target}}
@@ -106,13 +106,13 @@ void setup_sycl_operation(const T VA[]) {
106
106
tricky128Type mal128Trick = 2;
107
107
// expected-error@+1 {{'__int128' is not supported on this target}}
108
108
int128Def malIntDef = 9;
109
-
// expected-error@+2 {{'malIntent' requires 128 bit size '__int128' type support, but device 'spir64' does not support it}}
109
+
// expected-error@+2 {{'malIntent' requires 128 bit size '__int128' type support, but target 'spir64' does not support it}}
110
110
// expected-error@+1 {{'__int128' is not supported on this target}}
111
111
auto whatInt128 = malIntent;
112
-
// expected-error@+2 {{'bar<__int128>' requires 128 bit size '__int128' type support, but device 'spir64' does not support it}}
112
+
// expected-error@+2 {{'bar<__int128>' requires 128 bit size '__int128' type support, but target 'spir64' does not support it}}
113
113
// expected-error@+1 {{'__int128' is not supported on this target}}
114
114
auto malAutoTemp = bar<__int128>();
115
-
// expected-error@+2 {{'bar<const __int128>' requires 128 bit size 'const __int128' type support, but device 'spir64' does not support it}}
115
+
// expected-error@+2 {{'bar<const __int128>' requires 128 bit size 'const __int128' type support, but target 'spir64' does not support it}}
116
116
// expected-error@+1 {{'__int128' is not supported on this target}}
117
117
auto malAutoTemp2 = bar<tricky128Type>();
118
118
// expected-error@+1 {{'__int128' is not supported on this target}}
@@ -127,13 +127,13 @@ void setup_sycl_operation(const T VA[]) {
127
127
megeType malTypeDefTrick = 4;
128
128
// expected-error@+1 {{'__int128' is not supported on this target}}
129
129
int128tDef malInt2Def = 6;
130
-
// expected-error@+2 {{'malUInt128' requires 128 bit size '__uint128_t' (aka 'unsigned __int128') type support, but device 'spir64' does not support it}}
130
+
// expected-error@+2 {{'malUInt128' requires 128 bit size '__uint128_t' (aka 'unsigned __int128') type support, but target 'spir64' does not support it}}
131
131
// expected-error@+1 {{'unsigned __int128' is not supported on this target}}
132
132
auto whatUInt = malUInt128;
133
-
// expected-error@+2 {{'bar<__int128>' requires 128 bit size '__int128' type support, but device 'spir64' does not support it}}
133
+
// expected-error@+2 {{'bar<__int128>' requires 128 bit size '__int128' type support, but target 'spir64' does not support it}}
134
134
// expected-error@+1 {{'__int128' is not supported on this target}}
135
135
auto malAutoTemp3 = bar<__int128_t>();
136
-
// expected-error@+2 {{'bar<const unsigned __int128>' requires 128 bit size 'const unsigned __int128' type support, but device 'spir64' does not support it}}
136
+
// expected-error@+2 {{'bar<const unsigned __int128>' requires 128 bit size 'const unsigned __int128' type support, but target 'spir64' does not support it}}
137
137
// expected-error@+1 {{'unsigned __int128' is not supported on this target}}
138
138
auto malAutoTemp4 = bar<megeType>();
139
139
// expected-error@+1 {{'__int128' is not supported on this target}}
// expected-error@+1 {{'__float128' is not supported on this target}}
239
239
floatDef malFloatDef = 44;
240
-
// expected-error@+2 {{'malFloat' requires 128 bit size '__float128' type support, but device 'spir64' does not support it}}
240
+
// expected-error@+2 {{'malFloat' requires 128 bit size '__float128' type support, but target 'spir64' does not support it}}
241
241
// expected-error@+1 {{'__float128' is not supported on this target}}
242
242
auto whatFloat = malFloat;
243
-
// expected-error@+2 {{'bar<__float128>' requires 128 bit size '__float128' type support, but device 'spir64' does not support it}}
243
+
// expected-error@+2 {{'bar<__float128>' requires 128 bit size '__float128' type support, but target 'spir64' does not support it}}
244
244
// expected-error@+1 {{'__float128' is not supported on this target}}
245
245
auto malAutoTemp5 = bar<__float128>();
246
-
// expected-error@+2 {{'bar<__float128>' requires 128 bit size '__float128' type support, but device 'spir64' does not support it}}
246
+
// expected-error@+2 {{'bar<__float128>' requires 128 bit size '__float128' type support, but target 'spir64' does not support it}}
247
247
// expected-error@+1 {{'__float128' is not supported on this target}}
248
248
auto malAutoTemp6 = bar<trickyFloatType>();
249
249
// expected-error@+1 {{'__float128' is not supported on this target}}
250
250
decltype(malFloat) malDeclFloat = 42;
251
-
// expected-error@+2 {{'solutionToEverything<__float128>' requires 128 bit size 'const __float128' type support, but device 'spir64' does not support it}}
251
+
// expected-error@+2 {{'solutionToEverything<__float128>' requires 128 bit size 'const __float128' type support, but target 'spir64' does not support it}}
252
252
// expected-error@+1 {{'__float128' is not supported on this target}}
253
253
auto malFloatTemplateVar = solutionToEverything<__float128>;
254
-
// expected-error@+2 {{'solutionToEverything<__float128>' requires 128 bit size 'const __float128' type support, but device 'spir64' does not support it}}
254
+
// expected-error@+2 {{'solutionToEverything<__float128>' requires 128 bit size 'const __float128' type support, but target 'spir64' does not support it}}
255
255
// expected-error@+1 {{'__float128' is not supported on this target}}
256
256
auto malTrifectaFloat = solutionToEverything<trickyFloatType>;
257
257
// expected-error@+1 {{'__float128' is not supported on this target}}
// expected-error@+1 {{'long double' is not supported on this target}}
271
271
longdoubleDef malLDDef = 52;
272
-
// expected-error@+2 {{'malLD' requires 128 bit size 'long double' type support, but device 'spir64' does not support it}}
272
+
// expected-error@+2 {{'malLD' requires 128 bit size 'long double' type support, but target 'spir64' does not support it}}
273
273
// expected-error@+1 {{'long double' is not supported on this target}}
274
274
auto whatLD = malLD;
275
-
// expected-error@+2 {{'bar<long double>' requires 128 bit size 'long double' type support, but device 'spir64' does not support it}}
275
+
// expected-error@+2 {{'bar<long double>' requires 128 bit size 'long double' type support, but target 'spir64' does not support it}}
276
276
// expected-error@+1 {{'long double' is not supported on this target}}
277
277
auto malAutoLD = bar<longdouble>();
278
-
// expected-error@+2{{'bar<long double>' requires 128 bit size 'long double' type support, but device 'spir64' does not support it}}
278
+
// expected-error@+2{{'bar<long double>' requires 128 bit size 'long double' type support, but target 'spir64' does not support it}}
279
279
// expected-error@+1 {{'long double' is not supported on this target}}
280
280
auto malAutoLD2 = bar<trickyLDType>();
281
281
// expected-error@+1 {{'long double' is not supported on this target}}
282
282
decltype(malLD) malDeclLD = 53;
283
-
// expected-error@+2 {{'solutionToEverything<long double>' requires 128 bit size 'const long double' type support, but device 'spir64' does not support it}}
283
+
// expected-error@+2 {{'solutionToEverything<long double>' requires 128 bit size 'const long double' type support, but target 'spir64' does not support it}}
284
284
// expected-error@+1 {{'long double' is not supported on this target}}
285
285
auto malLDTemplateVar = solutionToEverything<longdouble>;
286
-
// expected-error@+2 {{'solutionToEverything<long double>' requires 128 bit size 'const long double' type support, but device 'spir64' does not support it}}
286
+
// expected-error@+2 {{'solutionToEverything<long double>' requires 128 bit size 'const long double' type support, but target 'spir64' does not support it}}
287
287
// expected-error@+1 {{'long double' is not supported on this target}}
288
288
auto malTrifectaLD = solutionToEverything<trickyLDType>;
289
289
// expected-error@+1 {{'long double' is not supported on this target}}
// expected-error@+1 {{'__int128' is not supported on this target}}
341
341
int128tDef malInt2Def = 6;
342
-
// expected-error@+2 {{'malUInt128' requires 128 bit size '__uint128_t' (aka 'unsigned __int128') type support, but device 'spir64' does not support it}}
342
+
// expected-error@+2 {{'malUInt128' requires 128 bit size '__uint128_t' (aka 'unsigned __int128') type support, but target 'spir64' does not support it}}
343
343
// expected-error@+1 {{'unsigned __int128' is not supported on this target}}
344
344
auto whatUInt = malUInt128;
345
-
// expected-error@+2 {{'bar<__int128>' requires 128 bit size '__int128' type support, but device 'spir64' does not support it}}
345
+
// expected-error@+2 {{'bar<__int128>' requires 128 bit size '__int128' type support, but target 'spir64' does not support it}}
346
346
// expected-error@+1 {{'__int128' is not supported on this target}}
347
347
auto malAutoTemp3 = bar<__int128_t>();
348
-
// expected-error@+2 {{'bar<unsigned __int128>' requires 128 bit size 'unsigned __int128' type support, but device 'spir64' does not support it}}
348
+
// expected-error@+2 {{'bar<unsigned __int128>' requires 128 bit size 'unsigned __int128' type support, but target 'spir64' does not support it}}
349
349
// expected-error@+1 {{'unsigned __int128' is not supported on this target}}
350
350
auto malAutoTemp4 = bar<megeType>();
351
351
// expected-error@+1 {{'__int128' is not supported on this target}}
352
352
decltype(malInt128) malDeclInt128 = 5;
353
-
// expected-error@+2 {{'solutionToEverything<__int128>' requires 128 bit size 'const __int128' type support, but device 'spir64' does not support it}}
353
+
// expected-error@+2 {{'solutionToEverything<__int128>' requires 128 bit size 'const __int128' type support, but target 'spir64' does not support it}}
354
354
// expected-error@+1 {{'__int128' is not supported on this target}}
355
355
auto mal128TIntTemplateVar = solutionToEverything<__int128_t>;
356
-
// expected-error@+2 {{'solutionToEverything<unsigned __int128>' requires 128 bit size 'const unsigned __int128' type support, but device 'spir64' does not support it}}
356
+
// expected-error@+2 {{'solutionToEverything<unsigned __int128>' requires 128 bit size 'const unsigned __int128' type support, but target 'spir64' does not support it}}
357
357
// expected-error@+1 {{'unsigned __int128' is not supported on this target}}
358
358
auto malTrifectaInt128T = solutionToEverything<megeType>;
0 commit comments