introduce a new "Builtin.RawPointer" type, which corresponds to LLVM's "i8*" type,

and is just an unmanaged pointer.  Also, introduce a basic swift.string type.

This is progress towards rdar://10923403 and strings.  Review welcome.



Swift SVN r1349
This commit is contained in:
Chris Lattner
2012-04-10 00:52:52 +00:00
parent c78bdcff0e
commit 65b400e30d
10 changed files with 36 additions and 2 deletions

View File

@@ -27,6 +27,7 @@ static bool checkFullyTyped(Parser &P, Type type) {
case TypeKind::Error:
case TypeKind::BuiltinInteger:
case TypeKind::BuiltinFloat:
case TypeKind::BuiltinRawPointer:
case TypeKind::BuiltinObjectPointer:
case TypeKind::NameAlias: // FIXME: underlying type could be non-fully-typed!
case TypeKind::Identifier: