From dc62c17dd66d77a4779395adabb8c28da756689f Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Tue, 3 Jul 2018 04:07:26 +0000 Subject: [PATCH] [ADT] Switch another place to `llvm::is_trivially_move_constructible`. I missed this the first time around, sorry. llvm-svn: 336166 --- llvm/include/llvm/ADT/FunctionExtras.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/include/llvm/ADT/FunctionExtras.h b/llvm/include/llvm/ADT/FunctionExtras.h index e3de22d..2cce7b3 100644 --- a/llvm/include/llvm/ADT/FunctionExtras.h +++ b/llvm/include/llvm/ADT/FunctionExtras.h @@ -240,7 +240,7 @@ public: // FIXME: we should use constexpr if here and below to avoid instantiating // the non-trivial static objects when unnecessary. While the linker should // remove them, it is still wasteful. - if (std::is_trivially_move_constructible::value && + if (llvm::is_trivially_move_constructible::value && std::is_trivially_destructible::value) { CallbackAndInlineFlag = {&CallImpl, IsInlineStorage}; return; -- 2.7.4