[clang-tools-extra] [NFC] Fix uninitialized data member in constructor. (PR #118324)
Zahira Ammarguellat via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 2 09:10:50 PST 2024
https://github.com/zahiraam created https://github.com/llvm/llvm-project/pull/118324
None
>From 4142b5bd36a4f7a554196687e191a09dba9e4dcf Mon Sep 17 00:00:00 2001
From: Zahira Ammarguellat <zahira.ammarguellat at intel.com>
Date: Mon, 2 Dec 2024 09:09:21 -0800
Subject: [PATCH] [NFC] Fix uninitialized data member in constructor.
---
clang-tools-extra/clangd/index/dex/Dex.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/clang-tools-extra/clangd/index/dex/Dex.h b/clang-tools-extra/clangd/index/dex/Dex.h
index 69e161d51135b6..f907c9a55b935b 100644
--- a/clang-tools-extra/clangd/index/dex/Dex.h
+++ b/clang-tools-extra/clangd/index/dex/Dex.h
@@ -58,6 +58,7 @@ class Dex : public SymbolIndex {
KeepAlive = std::shared_ptr<void>(
std::make_shared<Payload>(std::move(BackingData)), nullptr);
this->BackingDataSize = BackingDataSize;
+ this->IdxContents = IndexContents::All;
}
template <typename SymbolRange, typename RefsRange, typename RelationsRange,
More information about the cfe-commits
mailing list