Skip to content

Commit fafafe4

Browse files
committed
indexing: drop duplicated string copy. NFC
1 parent 42f0b89 commit fafafe4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Index/Index.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2155,7 +2155,7 @@ void index::indexSourceFile(SourceFile *SF, IndexDataConsumer &consumer) {
21552155

21562156
void index::indexModule(ModuleDecl *module, IndexDataConsumer &consumer) {
21572157
assert(module);
2158-
auto mName = module->getRealName().str().str();
2158+
auto mName = module->getRealName().str();
21592159
if (module->getASTContext().blockListConfig.hasBlockListAction(mName,
21602160
BlockListKeyKind::ModuleName,
21612161
BlockListAction::SkipIndexingModule)) {

0 commit comments

Comments
 (0)