[libcxx-commits] [libcxx] 4a04f8c - [libc++][test] Fix missing include in `endian.pass.cpp`
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Jan 9 03:10:36 PST 2023
Author: Joe Loser
Date: 2023-01-09T12:10:30+01:00
New Revision: 4a04f8c240242524080fc8930150fa4cd0d34157
URL: https://github.com/llvm/llvm-project/commit/4a04f8c240242524080fc8930150fa4cd0d34157
DIFF: https://github.com/llvm/llvm-project/commit/4a04f8c240242524080fc8930150fa4cd0d34157.diff
LOG: [libc++][test] Fix missing include in `endian.pass.cpp`
`endian.pass.cpp` uses `std::is_enum` and friends but doesn't include
`<type_traits>`. Add the missing include.
Reviewed By: philnik, #libc
Spies: libcxx-commits
Differential Revision: https://reviews.llvm.org/D141239
Added:
Modified:
libcxx/test/std/numerics/bit/bit.endian/endian.pass.cpp
Removed:
################################################################################
diff --git a/libcxx/test/std/numerics/bit/bit.endian/endian.pass.cpp b/libcxx/test/std/numerics/bit/bit.endian/endian.pass.cpp
index 4eedf051eded6..ecba9601677a1 100644
--- a/libcxx/test/std/numerics/bit/bit.endian/endian.pass.cpp
+++ b/libcxx/test/std/numerics/bit/bit.endian/endian.pass.cpp
@@ -15,6 +15,7 @@
#include <cstring>
#include <cassert>
#include <cstdint>
+#include <type_traits>
#include "test_macros.h"
More information about the libcxx-commits
mailing list