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:
Rui Ueyama 2018-02-14 22:26:23 +00:00
parent 1cd3dd0bd8
commit de8140066a
1 changed files with 0 additions and 2 deletions

View File

@ -237,8 +237,6 @@ union SymbolUnion {
template <typename T, typename... ArgT>
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(alignof(T) <= alignof(SymbolUnion),
"SymbolUnion not aligned enough");