We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abe9dd4 commit 1471a7dCopy full SHA for 1471a7d
llvm/include/llvm/Demangle/ItaniumDemangle.h
@@ -2173,10 +2173,10 @@ class PODSmallVector {
2173
static_assert(std::is_pod<T>::value,
2174
"T is required to be a plain old data type");
2175
2176
- T* First;
2177
- T* Last;
2178
- T* Cap;
2179
- T Inline[N];
+ T* First = nullptr;
+ T* Last = nullptr;
+ T* Cap = nullptr;
+ T Inline[N] = {};
2180
2181
bool isInline() const { return First == Inline; }
2182
0 commit comments