mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Sema: Change a couple of Identifier usages to DeclName instead
This commit is contained in:
@@ -4068,8 +4068,8 @@ namespace {
|
||||
}
|
||||
|
||||
/// Lookup all macros with the given macro name.
|
||||
SmallVector<OverloadChoice, 1> lookupMacros(Identifier moduleName,
|
||||
Identifier macroName,
|
||||
SmallVector<OverloadChoice, 1> lookupMacros(DeclName moduleName,
|
||||
DeclName macroName,
|
||||
FunctionRefInfo functionRefInfo,
|
||||
MacroRoles roles) {
|
||||
SmallVector<OverloadChoice, 1> choices;
|
||||
@@ -4100,8 +4100,8 @@ namespace {
|
||||
CS.associateArgumentList(locator, expr->getArgs());
|
||||
|
||||
// Look up the macros with this name.
|
||||
auto moduleIdent = expr->getModuleName().getBaseIdentifier();
|
||||
auto macroIdent = expr->getMacroName().getBaseIdentifier();
|
||||
auto moduleIdent = expr->getModuleName().getBaseName();
|
||||
auto macroIdent = expr->getMacroName().getBaseName();
|
||||
FunctionRefInfo functionRefInfo = FunctionRefInfo::singleBaseNameApply();
|
||||
auto macros = lookupMacros(moduleIdent, macroIdent, functionRefInfo,
|
||||
expr->getMacroRoles());
|
||||
|
||||
Reference in New Issue
Block a user