Skip to content

Commit 25d531c

Browse files
author
Nathan Hawes
authored
Merge pull request #30856 from nathawes/dont-process-group-name
[Index] Don't replace ' ' or '-' in group names when mapping them to a 'module' name
2 parents bc2f571 + 4592c0a commit 25d531c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/Index/IndexRecord.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -515,8 +515,6 @@ emitDataForSwiftSerializedModule(ModuleDecl *module,
515515
for (char ch : groupName) {
516516
if (ch == '/')
517517
buf += '.';
518-
else if (ch == ' ' || ch == '-')
519-
buf += '_';
520518
else
521519
buf += ch;
522520
}

0 commit comments

Comments
 (0)