mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[ASTMangler] Pass ASTContext to all instantiations of ASTMangler
This commit is contained in:
@@ -202,7 +202,7 @@ static void forwardParameters(AbstractFunctionDecl *afd,
|
||||
static llvm::StringRef
|
||||
mangleDistributedThunkForAccessorRecordName(
|
||||
ASTContext &C, AbstractFunctionDecl *thunk) {
|
||||
Mangle::ASTMangler mangler;
|
||||
Mangle::ASTMangler mangler(C);
|
||||
|
||||
// default mangling
|
||||
auto mangled =
|
||||
|
||||
Reference in New Issue
Block a user