mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[AST] Rename mangleDeclAsUSR -> mangleDeclWithPrefix
This is used by other things that don't necessarily want an IDE USR.
This commit is contained in:
@@ -753,7 +753,7 @@ void ModuleFile::loadDerivativeFunctionConfigurations(
|
||||
return;
|
||||
auto &ctx = originalAFD->getASTContext();
|
||||
Mangle::ASTMangler Mangler(ctx);
|
||||
auto mangledName = Mangler.mangleDeclAsUSR(originalAFD, "");
|
||||
auto mangledName = Mangler.mangleDeclWithPrefix(originalAFD, "");
|
||||
auto configs = Core->DerivativeFunctionConfigurations->find(mangledName);
|
||||
if (configs == Core->DerivativeFunctionConfigurations->end())
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user