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:
Artem Chikin
2025-03-03 11:44:10 -08:00
parent f0446d0271
commit de26e960e2
39 changed files with 119 additions and 119 deletions

View File

@@ -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