From: Chandler Carruth Date: Tue, 3 Jul 2018 04:07:26 +0000 (+0000) Subject: [ADT] Switch another place to `llvm::is_trivially_move_constructible`. X-Git-Tag: llvmorg-7.0.0-rc1~2339 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dc62c17dd66d77a4779395adabb8c28da756689f;p=platform%2Fupstream%2Fllvm.git [ADT] Switch another place to `llvm::is_trivially_move_constructible`. I missed this the first time around, sorry. llvm-svn: 336166 --- 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;