mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Add some basic structures for protocol composition types.
Swift SVN r2355
This commit is contained in:
@@ -48,6 +48,7 @@ namespace swift {
|
||||
class FuncDecl;
|
||||
class OneOfElementDecl;
|
||||
class OneOfDecl;
|
||||
class ProtocolCompositionType;
|
||||
class ProtocolDecl;
|
||||
class SourceLoc;
|
||||
class StructDecl;
|
||||
@@ -127,6 +128,7 @@ public:
|
||||
const TypeInfo &getFragileTypeInfo(Type T);
|
||||
llvm::Type *getFragileType(Type T);
|
||||
llvm::StructType *createNominalType(TypeDecl *D);
|
||||
llvm::StructType *createNominalType(ProtocolCompositionType *T);
|
||||
void getSchema(Type T, ExplosionSchema &schema);
|
||||
unsigned getExplosionSize(Type T, ExplosionKind kind);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user