[ADT] Switch another place to `llvm::is_trivially_move_constructible`.
authorChandler Carruth <chandlerc@gmail.com>
Tue, 3 Jul 2018 04:07:26 +0000 (04:07 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 3 Jul 2018 04:07:26 +0000 (04:07 +0000)
I missed this the first time around, sorry.

llvm-svn: 336166

llvm/include/llvm/ADT/FunctionExtras.h

index e3de22d..2cce7b3 100644 (file)
@@ -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<CallableT>::value &&
+    if (llvm::is_trivially_move_constructible<CallableT>::value &&
         std::is_trivially_destructible<CallableT>::value) {
       CallbackAndInlineFlag = {&CallImpl<CallableT>, IsInlineStorage};
       return;