aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp
diff options
context:
space:
mode:
authorNathan James <n.james93@hotmail.co.uk>2022-11-08 13:11:10 +0000
committerNathan James <n.james93@hotmail.co.uk>2022-11-08 13:11:41 +0000
commit632a389f96355cbe7ed8fa7b8d2ed6267c92457c (patch)
tree11459955fe1fbe372cb32dc3a262c837b811e9b6 /llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp
parent46d53f45d89b54d55304cfd7cd3d6c6232dbf529 (diff)
downloadllvm-632a389f96355cbe7ed8fa7b8d2ed6267c92457c.zip
llvm-632a389f96355cbe7ed8fa7b8d2ed6267c92457c.tar.gz
llvm-632a389f96355cbe7ed8fa7b8d2ed6267c92457c.tar.bz2
Revert "[llvm][NFC] Use c++17 style variable type traits"
This reverts commit 1834a310d060d55748ca38d4ae0482864c2047d8.
Diffstat (limited to 'llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp')
-rw-r--r--llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp b/llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp
index d3760a9a..5fec847 100644
--- a/llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp
+++ b/llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp
@@ -256,8 +256,8 @@ public:
"This test makes sure NewArchiveMemberList is used by MembersData since "
"the following asserts test invariants required for MembersData.");
static_assert(
- !std::is_copy_constructible_v<
- decltype(NewArchiveMemberList::Members)::value_type>,
+ !std::is_copy_constructible<
+ decltype(NewArchiveMemberList::Members)::value_type>::value,
"MembersData::MembersPerArchitecture has a dependency on "
"MembersData::FileBuffers so it should not be able to "
"be copied on its own without FileBuffers. Unfortunately, "
@@ -265,8 +265,8 @@ public:
"of a non-copyable type is itself non-copyable so we have to test the "
"actual type of the stored data (ie, value_type).");
static_assert(
- !std::is_copy_assignable_v<
- decltype(NewArchiveMemberList::Members)::value_type>,
+ !std::is_copy_assignable<
+ decltype(NewArchiveMemberList::Members)::value_type>::value,
"MembersData::MembersPerArchitecture has a dependency on "
"MembersData::FileBuffers so it should not be able to "
"be copied on its own without FileBuffers. Unfortunately, "