mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #72048 from Jamezzzb/#56350
#56350 - Give Identifier a hasUnderscoredNaming() helper
This commit is contained in:
@@ -2297,7 +2297,7 @@ void ModuleDecl::findDeclaredCrossImportOverlaysTransitive(
|
||||
for (Identifier overlay: overlays) {
|
||||
// We don't present non-underscored overlays as part of the underlying
|
||||
// module, so ignore them.
|
||||
if (!overlay.str().startswith("_"))
|
||||
if (!overlay.hasUnderscoredNaming())
|
||||
continue;
|
||||
ModuleDecl *overlayMod =
|
||||
getASTContext().getModuleByName(overlay.str());
|
||||
|
||||
Reference in New Issue
Block a user