forked from OSchip/llvm-project
[clangd] Fix dead variable, typo. NFC
This commit is contained in:
parent
6f1a56d37a
commit
6ee47f552b
|
@ -552,9 +552,8 @@ void SymbolCollector::finish() {
|
|||
}
|
||||
// Fill in IncludeHeaders.
|
||||
// We delay this until end of TU so header guards are all resolved.
|
||||
// Symbols in slabs aren' mutable, so insert() has to walk all the strings
|
||||
// Symbols in slabs aren't mutable, so insert() has to walk all the strings
|
||||
// :-(
|
||||
llvm::SmallString<256> QName;
|
||||
for (const auto &Entry : IncludeFiles)
|
||||
if (const Symbol *S = Symbols.find(Entry.first)) {
|
||||
if (auto Header = getIncludeHeader(*S, Entry.second)) {
|
||||
|
|
Loading…
Reference in New Issue