[libcxx-commits] [PATCH] D141239: [libc++][test] Fix missing include in `endian.pass.cpp`
Joe Loser via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Jan 8 14:14:43 PST 2023
jloser created this revision.
jloser added reviewers: philnik, Mordante, ldionne.
Herald added a project: All.
jloser requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.
`endian.pass.cpp` uses `std::is_enum` and friends but doesn't include
`<type_traits>`. Add the missing include.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D141239
Files:
libcxx/test/std/numerics/bit/bit.endian/endian.pass.cpp
Index: libcxx/test/std/numerics/bit/bit.endian/endian.pass.cpp
===================================================================
--- libcxx/test/std/numerics/bit/bit.endian/endian.pass.cpp
+++ 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"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141239.487233.patch
Type: text/x-patch
Size: 383 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230108/2bffd7ad/attachment.bin>
More information about the libcxx-commits
mailing list