mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[ABI] Factor out the protocol conformance flags (again).
Protocol conformance records are becoming richer and more interesting; separate out the "flags" word and add the various other fields that we want there (is-retroactive, is-synthesized-nonunique, # of conditional requirements).
This commit is contained in:
@@ -463,6 +463,11 @@ public:
|
||||
return ContextAndInvalid.getPointer().dyn_cast<AbstractStorageDecl *>();
|
||||
}
|
||||
|
||||
/// A "retroactive" conformance is one that is defined in a module that
|
||||
/// is neither the module that defines the protocol nor the module that
|
||||
/// defines the conforming type.
|
||||
bool isRetroactive() const;
|
||||
|
||||
/// Retrieve the type witness and type decl (if one exists)
|
||||
/// for the given associated type.
|
||||
std::pair<Type, TypeDecl *>
|
||||
|
||||
Reference in New Issue
Block a user