We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abed823 commit 9b987e0Copy full SHA for 9b987e0
clang/lib/Sema/SemaCodeComplete.cpp
@@ -98,10 +98,10 @@ class ResultBuilder {
98
99
/// When the entry contains a single declaration, this is
100
/// the index associated with that entry.
101
- unsigned SingleDeclIndex;
+ unsigned SingleDeclIndex = 0;
102
103
public:
104
- ShadowMapEntry() : SingleDeclIndex(0) {}
+ ShadowMapEntry() = default;
105
ShadowMapEntry(const ShadowMapEntry &) = delete;
106
ShadowMapEntry(ShadowMapEntry &&Move) { *this = std::move(Move); }
107
ShadowMapEntry &operator=(const ShadowMapEntry &) = delete;
0 commit comments