mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
AST: ProtocolConformanceRef::getTypeWitnessByName() should be an instance method
This commit is contained in:
@@ -135,10 +135,7 @@ public:
|
||||
return llvm::hash_value(conformance.Union.getOpaqueValue());
|
||||
}
|
||||
|
||||
static Type
|
||||
getTypeWitnessByName(Type type,
|
||||
ProtocolConformanceRef conformance,
|
||||
Identifier name);
|
||||
Type getTypeWitnessByName(Type type, Identifier name) const;
|
||||
|
||||
/// Determine whether this conformance is canonical.
|
||||
bool isCanonical() const;
|
||||
|
||||
Reference in New Issue
Block a user