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:
@@ -4689,7 +4689,7 @@ public:
|
||||
param->isVariadic(),
|
||||
param->isAutoClosure(),
|
||||
param->isIsolated(),
|
||||
param->isCompileTimeConst(),
|
||||
param->isCompileTimeLiteral(),
|
||||
param->isSending(),
|
||||
getRawStableDefaultArgumentKind(argKind),
|
||||
S.addTypeRef(defaultExprType),
|
||||
@@ -5782,7 +5782,7 @@ public:
|
||||
S.addTypeRef(param.getPlainType()), paramFlags.isVariadic(),
|
||||
paramFlags.isAutoClosure(), paramFlags.isNonEphemeral(), rawOwnership,
|
||||
paramFlags.isIsolated(), paramFlags.isNoDerivative(),
|
||||
paramFlags.isCompileTimeConst(), paramFlags.isSending(),
|
||||
paramFlags.isCompileTimeLiteral(), paramFlags.isSending(),
|
||||
paramFlags.isAddressable());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user