aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/ADT/ArrayRefTest.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2020-12-01 23:40:38 -0800
committerFangrui Song <i@maskray.me>2020-12-02 09:58:07 -0800
commit4d4bd40b578d77b8c5bc349ded405fb58c333c78 (patch)
tree3803ffeb0761c37df632479b4778c62bced6e7a6 /llvm/unittests/ADT/ArrayRefTest.cpp
parent92475f698ec20c153114da5ba88a2948c7cfae59 (diff)
downloadllvm-4d4bd40b578d77b8c5bc349ded405fb58c333c78.zip
llvm-4d4bd40b578d77b8c5bc349ded405fb58c333c78.tar.gz
llvm-4d4bd40b578d77b8c5bc349ded405fb58c333c78.tar.bz2
Use 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.
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 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<ArrayRef<int>>::value,
+static_assert(std::is_trivially_copyable<ArrayRef<int>>::value,
"trivially copyable");
} // end anonymous namespace