From 1d6ebdfb66b9d63d34f34ec6ac7ec57eff7cd24b Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Wed, 2 Dec 2020 22:02:48 -0800 Subject: Switch from llvm::is_trivially_copyable to std::is_trivially_copyable GCC<5 did not support std::is_trivially_copyable. Now LLVM builds require 5.1 we can migrate to std::is_trivially_copyable. The Optional.h change made MSVC choke (https://buildkite.com/llvm-project/premerge-checks/builds/18587#cd1bb616-ffdc-4581-9795-b42c284196de) so I leave it out for now. Differential Revision: https://reviews.llvm.org/D92514 --- llvm/unittests/ADT/ArrayRefTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/unittests/ADT/ArrayRefTest.cpp') diff --git a/llvm/unittests/ADT/ArrayRefTest.cpp b/llvm/unittests/ADT/ArrayRefTest.cpp index 4690319..f3da4c6 100644 --- a/llvm/unittests/ADT/ArrayRefTest.cpp +++ b/llvm/unittests/ADT/ArrayRefTest.cpp @@ -262,7 +262,7 @@ TEST(ArrayRefTest, makeArrayRefFromStdArray) { } } -static_assert(is_trivially_copyable>::value, +static_assert(std::is_trivially_copyable>::value, "trivially copyable"); } // end anonymous namespace -- cgit v1.1