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 35d4b4e commit 0beab98Copy full SHA for 0beab98
llvm/include/llvm/ADT/FunctionExtras.h
@@ -151,7 +151,7 @@ template <typename ReturnT, typename... ParamTs> class UniqueFunctionBase {
151
void *StoragePtr;
152
size_t Size;
153
size_t Alignment;
154
- } OutOfLineStorage;
+ } OutOfLineStorage = {};
155
static_assert(
156
sizeof(OutOfLineStorageT) <= InlineStorageSize,
157
"Should always use all of the out-of-line storage for inline storage!");
0 commit comments