mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[ASTMangler] Pass ASTContext to all instantiations of ASTMangler
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
using namespace swift;
|
||||
|
||||
static std::string mangleConstant(ProtocolConformance *C) {
|
||||
Mangle::ASTMangler Mangler;
|
||||
Mangle::ASTMangler Mangler(C->getDeclContext()->getASTContext());
|
||||
return Mangler.mangleWitnessTable(C);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user