aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/ADT/ArrayRefTest.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2020-12-02 13:48:05 -0800
committerReid Kleckner <rnk@google.com>2020-12-02 14:30:46 -0800
commit91e66bfd321ff3e932a9f9706b22fcf455a4a686 (patch)
tree475ed135601b32fa2432e3e9d07cd7f3d7a95a4f /llvm/unittests/ADT/ArrayRefTest.cpp
parent2304528bb54a224fbae26b5f7b2b4d5e2f810a43 (diff)
downloadllvm-91e66bfd321ff3e932a9f9706b22fcf455a4a686.zip
llvm-91e66bfd321ff3e932a9f9706b22fcf455a4a686.tar.gz
llvm-91e66bfd321ff3e932a9f9706b22fcf455a4a686.tar.bz2
Revert "Use std::is_trivially_copyable", breaks MSVC build
Revert "Delete llvm::is_trivially_copyable and CMake variable HAVE_STD_IS_TRIVIALLY_COPYABLE" This reverts commit 4d4bd40b578d77b8c5bc349ded405fb58c333c78. This reverts commit 557b00e0afb2dc1776f50948094ca8cc62d97be4.
Diffstat (limited to 'llvm/unittests/ADT/ArrayRefTest.cpp')
-rw-r--r--llvm/unittests/ADT/ArrayRefTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/ADT/ArrayRefTest.cpp b/llvm/unittests/ADT/ArrayRefTest.cpp
index f3da4c6..4690319 100644
--- a/llvm/unittests/ADT/ArrayRefTest.cpp
+++ b/llvm/unittests/ADT/ArrayRefTest.cpp
@@ -262,7 +262,7 @@ TEST(ArrayRefTest, makeArrayRefFromStdArray) {
}
}
-static_assert(std::is_trivially_copyable<ArrayRef<int>>::value,
+static_assert(is_trivially_copyable<ArrayRef<int>>::value,
"trivially copyable");
} // end anonymous namespace