[AST] Rename mangleDeclAsUSR -> mangleDeclWithPrefix

This is used by other things that don't necessarily want an IDE
USR.
This commit is contained in:
Hamish Knight
2025-10-23 09:11:17 +01:00
parent a1e1656ed5
commit 169096c233
6 changed files with 10 additions and 10 deletions

View File

@@ -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;