Skip to content

Commit d93be0f

Browse files
committed
Fix uninitialized scalar field in constructor.
1 parent 4142b5b commit d93be0f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang-tools-extra/clangd/index/MemIndex.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ class MemIndex : public SymbolIndex {
4343
KeepAlive = std::shared_ptr<void>(
4444
std::make_shared<Payload>(std::move(BackingData)), nullptr);
4545
this->BackingDataSize = BackingDataSize;
46+
this->IdxContents = IndexContents::All;
4647
}
4748

4849
template <typename SymbolRange, typename RefRange, typename RelationRange,

0 commit comments

Comments
 (0)