From de8140066a7cedff3f8f9e828d4430ad4e80f3d3 Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Wed, 14 Feb 2018 22:26:23 +0000 Subject: [PATCH] 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 --- lld/wasm/Symbols.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/lld/wasm/Symbols.h b/lld/wasm/Symbols.h index 726b690b0d14..59278730f932 100644 --- a/lld/wasm/Symbols.h +++ b/lld/wasm/Symbols.h @@ -237,8 +237,6 @@ union SymbolUnion { template T *replaceSymbol(Symbol *S, ArgT &&... Arg) { - static_assert(std::is_trivially_destructible(), - "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");