Skip to content

Commit 0beab98

Browse files
Fix <anonymous> declared here (#44)
1 parent 35d4b4e commit 0beab98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/include/llvm/ADT/FunctionExtras.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ template <typename ReturnT, typename... ParamTs> class UniqueFunctionBase {
151151
void *StoragePtr;
152152
size_t Size;
153153
size_t Alignment;
154-
} OutOfLineStorage;
154+
} OutOfLineStorage = {};
155155
static_assert(
156156
sizeof(OutOfLineStorageT) <= InlineStorageSize,
157157
"Should always use all of the out-of-line storage for inline storage!");

0 commit comments

Comments
 (0)