mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Change the demangling of _TtSf from Swift.Float32 to Swift.Float; and that of _TtSd from Swift.Float64 to Swift.Double
There has been a shuffling of which are structs and which are typealiases - the demangler should emit the struct names Swift SVN r17590
This commit is contained in:
@@ -796,9 +796,9 @@ private:
|
||||
if (Mangled.nextIf('c'))
|
||||
return createSwiftType(Node::Kind::Structure, "UnicodeScalar");
|
||||
if (Mangled.nextIf('d'))
|
||||
return createSwiftType(Node::Kind::Structure, "Float64");
|
||||
return createSwiftType(Node::Kind::Structure, "Double");
|
||||
if (Mangled.nextIf('f'))
|
||||
return createSwiftType(Node::Kind::Structure, "Float32");
|
||||
return createSwiftType(Node::Kind::Structure, "Float");
|
||||
if (Mangled.nextIf('i'))
|
||||
return createSwiftType(Node::Kind::Structure, "Int");
|
||||
if (Mangled.nextIf('q'))
|
||||
|
||||
Reference in New Issue
Block a user