diff options
author | Nathan James <n.james93@hotmail.co.uk> | 2022-11-08 14:15:04 +0000 |
---|---|---|
committer | Nathan James <n.james93@hotmail.co.uk> | 2022-11-08 14:15:15 +0000 |
commit | 6aa050a69041e610587c51032fa477dd3d6da787 (patch) | |
tree | f057eff2f7484ae183f975b2fb70e2580e546f4d /llvm/unittests/CodeGen/MachineInstrTest.cpp | |
parent | 281f2134a730f147428d75c09a28f0c5e1be95d9 (diff) | |
download | llvm-6aa050a69041e610587c51032fa477dd3d6da787.zip llvm-6aa050a69041e610587c51032fa477dd3d6da787.tar.gz llvm-6aa050a69041e610587c51032fa477dd3d6da787.tar.bz2 |
Reland "[llvm][NFC] Use c++17 style variable type traits"
This reverts commit 632a389f96355cbe7ed8fa7b8d2ed6267c92457c.
This relands commit
1834a310d060d55748ca38d4ae0482864c2047d8.
Differential Revision: https://reviews.llvm.org/D137493
Diffstat (limited to 'llvm/unittests/CodeGen/MachineInstrTest.cpp')
-rw-r--r-- | llvm/unittests/CodeGen/MachineInstrTest.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/unittests/CodeGen/MachineInstrTest.cpp b/llvm/unittests/CodeGen/MachineInstrTest.cpp index 6488f24..19e46075 100644 --- a/llvm/unittests/CodeGen/MachineInstrTest.cpp +++ b/llvm/unittests/CodeGen/MachineInstrTest.cpp @@ -472,7 +472,6 @@ TEST(MachineInstrBuilder, BuildMI) { EXPECT_THAT(BuildMI(MBB, MIMD, MCID), HasMIMetadata(MIMD)); } -static_assert(std::is_trivially_copyable<MCOperand>::value, - "trivially copyable"); +static_assert(std::is_trivially_copyable_v<MCOperand>, "trivially copyable"); } // end namespace |