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:
Enrico Granata
2014-05-07 00:17:01 +00:00
parent 72c6c11a3c
commit 8d21def542

View File

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