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:
@@ -1961,7 +1961,7 @@ ManglingError Remangler::mangleSending(Node *node, unsigned depth) {
|
||||
return mangleSingleChildNode(node, depth + 1); // type
|
||||
}
|
||||
|
||||
ManglingError Remangler::mangleCompileTimeConst(Node *node, unsigned depth) {
|
||||
ManglingError Remangler::mangleCompileTimeLiteral(Node *node, unsigned depth) {
|
||||
Buffer << "Yt";
|
||||
return mangleSingleChildNode(node, depth + 1); // type
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user