forked from OSchip/llvm-project
Remove a failing static_assert.
This static_assert is legitimate, but it is failing on some build environments. I'm removing it until it's fixed to unbreak the bots. llvm-svn: 325181
This commit is contained in:
parent
1cd3dd0bd8
commit
de8140066a
|
@ -237,8 +237,6 @@ union SymbolUnion {
|
||||||
|
|
||||||
template <typename T, typename... ArgT>
|
template <typename T, typename... ArgT>
|
||||||
T *replaceSymbol(Symbol *S, ArgT &&... Arg) {
|
T *replaceSymbol(Symbol *S, ArgT &&... Arg) {
|
||||||
static_assert(std::is_trivially_destructible<T>(),
|
|
||||||
"Symbol types must be trivially destructible");
|
|
||||||
static_assert(sizeof(T) <= sizeof(SymbolUnion), "Symbol too small");
|
static_assert(sizeof(T) <= sizeof(SymbolUnion), "Symbol too small");
|
||||||
static_assert(alignof(T) <= alignof(SymbolUnion),
|
static_assert(alignof(T) <= alignof(SymbolUnion),
|
||||||
"SymbolUnion not aligned enough");
|
"SymbolUnion not aligned enough");
|
||||||
|
|
Loading…
Reference in New Issue