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 {
251251 . unchecked:
252252 self = . exprKeyword
253253
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,
258256 . _backDeploy,
259257 . _cdecl,
260- . _Class,
261- . _compilerInitialized,
262- . _const,
263258 . _documentation,
264259 . _dynamicReplacement,
265260 . _effects,
266261 . _expose,
267- . _forward,
268262 . _implements,
269- . _linear,
270- . _move,
271- . _NativeClass,
272- . _NativeRefCountedObject,
273263 . _nonSendable,
274264 . _objcImplementation,
275265 . _objcRuntimeName,
276266 . _optimize,
277267 . _originallyDefinedIn,
278- . _PackageDescription,
279268 . _private,
280269 . _projectedValueProperty,
281- . _RefCountedObject,
282270 . _semantics,
283271 . _specialize,
284272 . _spi,
285273 . _spi_available,
286274 . _swift_native_objc_runtime_base,
287- . _Trivial,
288- . _TrivialAtMost,
289275 . _typeEraser,
290276 . _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,
291302 . _underlyingVersion,
292303 . _UnknownLayout,
293304 . _version,
294305 . accesses,
295306 . any,
296307 . assignment,
297308 . associativity,
298- . attached,
299309 . availability,
300- . available,
301- . backDeployed,
302310 . before,
303311 . block,
304312 . canImport,
305313 . compiler,
306314 . cType,
307315 . deprecated,
308- . derivative,
309- . exclusivity,
310316 . exported,
311317 . file,
312318 . discard,
313319 . forward,
314320 . higherThan,
315321 . initializes,
316- . inline,
317322 . introduced,
318323 . kind,
319324 . left,
@@ -325,7 +330,6 @@ enum TokenPrecedence: Comparable {
325330 . module,
326331 . noasync,
327332 . none,
328- . objc,
329333 . obsoleted,
330334 . of,
331335 . Protocol,
@@ -338,7 +342,6 @@ enum TokenPrecedence: Comparable {
338342 . spiModule,
339343 . swift,
340344 . target,
341- . transpose,
342345 . Type,
343346 . unavailable,
344347 . unowned,
You can’t perform that action at this time.
0 commit comments