Skip to content

Commit

Permalink
Fix <anonymous> declared here (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
DariaMityagina authored Jun 21, 2024
1 parent 35d4b4e commit 0beab98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/include/llvm/ADT/FunctionExtras.h
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ template <typename ReturnT, typename... ParamTs> class UniqueFunctionBase {
void *StoragePtr;
size_t Size;
size_t Alignment;
} OutOfLineStorage;
} OutOfLineStorage = {};
static_assert(
sizeof(OutOfLineStorageT) <= InlineStorageSize,
"Should always use all of the out-of-line storage for inline storage!");
Expand Down

0 comments on commit 0beab98

Please sign in to comment.