File tree Expand file tree Collapse file tree 1 file changed +27
-24
lines changed Expand file tree Collapse file tree 1 file changed +27
-24
lines changed Original file line number Diff line number Diff line change @@ -251,69 +251,74 @@ enum TokenPrecedence: Comparable {
251
251
. unchecked:
252
252
self = . exprKeyword
253
253
254
- case // Treat all other keywords as expression keywords in the absence of any better information.
255
- . __owned,
256
- . __shared,
257
- . _alignment,
254
+ case // `DeclarationAttributeWithSpecialSyntax`
255
+ . _alignment,
258
256
. _backDeploy,
259
257
. _cdecl,
260
- . _Class,
261
- . _compilerInitialized,
262
- . _const,
263
258
. _documentation,
264
259
. _dynamicReplacement,
265
260
. _effects,
266
261
. _expose,
267
- . _forward,
268
262
. _implements,
269
- . _linear,
270
- . _move,
271
- . _NativeClass,
272
- . _NativeRefCountedObject,
273
263
. _nonSendable,
274
264
. _objcImplementation,
275
265
. _objcRuntimeName,
276
266
. _optimize,
277
267
. _originallyDefinedIn,
278
- . _PackageDescription,
279
268
. _private,
280
269
. _projectedValueProperty,
281
- . _RefCountedObject,
282
270
. _semantics,
283
271
. _specialize,
284
272
. _spi,
285
273
. _spi_available,
286
274
. _swift_native_objc_runtime_base,
287
- . _Trivial,
288
- . _TrivialAtMost,
289
275
. _typeEraser,
290
276
. _unavailableFromAsync,
277
+ . attached,
278
+ . available,
279
+ . backDeployed,
280
+ . derivative,
281
+ . exclusivity,
282
+ . inline,
283
+ . objc,
284
+ . transpose:
285
+ self = . exprKeyword
286
+
287
+ case // Treat all other keywords as expression keywords in the absence of any better information.
288
+ . __owned,
289
+ . __shared,
290
+ . _Class,
291
+ . _compilerInitialized,
292
+ . _const,
293
+ . _forward,
294
+ . _linear,
295
+ . _move,
296
+ . _NativeClass,
297
+ . _NativeRefCountedObject,
298
+ . _PackageDescription,
299
+ . _RefCountedObject,
300
+ . _Trivial,
301
+ . _TrivialAtMost,
291
302
. _underlyingVersion,
292
303
. _UnknownLayout,
293
304
. _version,
294
305
. accesses,
295
306
. any,
296
307
. assignment,
297
308
. associativity,
298
- . attached,
299
309
. availability,
300
- . available,
301
- . backDeployed,
302
310
. before,
303
311
. block,
304
312
. canImport,
305
313
. compiler,
306
314
. cType,
307
315
. deprecated,
308
- . derivative,
309
- . exclusivity,
310
316
. exported,
311
317
. file,
312
318
. discard,
313
319
. forward,
314
320
. higherThan,
315
321
. initializes,
316
- . inline,
317
322
. introduced,
318
323
. kind,
319
324
. left,
@@ -325,7 +330,6 @@ enum TokenPrecedence: Comparable {
325
330
. module,
326
331
. noasync,
327
332
. none,
328
- . objc,
329
333
. obsoleted,
330
334
. of,
331
335
. Protocol,
@@ -338,7 +342,6 @@ enum TokenPrecedence: Comparable {
338
342
. spiModule,
339
343
. swift,
340
344
. target,
341
- . transpose,
342
345
. Type,
343
346
. unavailable,
344
347
. unowned,
You can’t perform that action at this time.
0 commit comments