mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Rename '_const' attribute to 'CompileTimeLiteral'
To pave the way for the new experimental feature which will operate on '@const' attribute and expand the scope of what's currently handled by '_const' without breaking compatibility, for now.
This commit is contained in:
@@ -1334,7 +1334,7 @@ namespace decls_block {
|
||||
ParamDeclSpecifierField, // inout, shared or owned?
|
||||
BCFixed<1>, // isolated
|
||||
BCFixed<1>, // noDerivative?
|
||||
BCFixed<1>, // compileTimeConst
|
||||
BCFixed<1>, // compileTimeLiteral
|
||||
BCFixed<1>, // sending
|
||||
BCFixed<1> // addressable
|
||||
>;
|
||||
@@ -1708,7 +1708,7 @@ namespace decls_block {
|
||||
BCFixed<1>, // isVariadic?
|
||||
BCFixed<1>, // isAutoClosure?
|
||||
BCFixed<1>, // isIsolated?
|
||||
BCFixed<1>, // isCompileTimeConst?
|
||||
BCFixed<1>, // isCompileTimeLiteral?
|
||||
BCFixed<1>, // isSending?
|
||||
DefaultArgumentField, // default argument kind
|
||||
TypeIDField, // default argument type
|
||||
|
||||
Reference in New Issue
Block a user