Skip to content

Commit 2fef1ce

Browse files
fix: Use formatTemporary instead of getName() (#242)
1 parent 4ad5f96 commit 2fef1ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

indexer/SymbolFormatter.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ std::optional<std::string_view> SymbolFormatter::getUsingShadowSymbol(
544544
return {};
545545
}
546546
auto descriptor = DescriptorBuilder{
547-
.name = llvm_ext::toStringView(usingShadowDecl.getName()),
547+
.name = this->formatTemporary(usingShadowDecl),
548548
.suffix = suffix,
549549
};
550550
return SymbolBuilder::formatContextual(*optContextSymbol, descriptor);

0 commit comments

Comments
 (0)