[libcxx-commits] [libcxx] 3d2d3b3 - [libc++] [test] IWYU in <concepts> tests.

Arthur O'Dwyer via libcxx-commits libcxx-commits at lists.llvm.org
Mon Aug 9 06:40:37 PDT 2021


Author: Arthur O'Dwyer
Date: 2021-08-09T09:39:36-04:00
New Revision: 3d2d3b3e7ae4a2fe421503353ef4b6269eb0adf5

URL: https://github.com/llvm/llvm-project/commit/3d2d3b3e7ae4a2fe421503353ef4b6269eb0adf5
DIFF: https://github.com/llvm/llvm-project/commit/3d2d3b3e7ae4a2fe421503353ef4b6269eb0adf5.diff

LOG: [libc++] [test] IWYU in <concepts> tests.

Added: 
    

Modified: 
    libcxx/test/std/concepts/concepts.callable/concept.predicate/predicate.compile.pass.cpp
    libcxx/test/std/concepts/concepts.callable/concept.predicate/predicate.pass.cpp
    libcxx/test/std/concepts/concepts.lang/concept.common/common_with.compile.pass.cpp
    libcxx/test/std/concepts/concepts.lang/concept.commonref/common_reference.compile.pass.cpp

Removed: 
    


################################################################################
diff  --git a/libcxx/test/std/concepts/concepts.callable/concept.predicate/predicate.compile.pass.cpp b/libcxx/test/std/concepts/concepts.callable/concept.predicate/predicate.compile.pass.cpp
index f2e86e214a353..9e04c16d05faf 100644
--- a/libcxx/test/std/concepts/concepts.callable/concept.predicate/predicate.compile.pass.cpp
+++ b/libcxx/test/std/concepts/concepts.callable/concept.predicate/predicate.compile.pass.cpp
@@ -13,6 +13,7 @@
 // concept predicate;
 
 #include <concepts>
+#include <type_traits>
 
 static_assert(std::predicate<bool()>);
 static_assert(std::predicate<bool (*)()>);

diff  --git a/libcxx/test/std/concepts/concepts.callable/concept.predicate/predicate.pass.cpp b/libcxx/test/std/concepts/concepts.callable/concept.predicate/predicate.pass.cpp
index 5c5941599f0b0..e4c8f608cd9ff 100644
--- a/libcxx/test/std/concepts/concepts.callable/concept.predicate/predicate.pass.cpp
+++ b/libcxx/test/std/concepts/concepts.callable/concept.predicate/predicate.pass.cpp
@@ -13,6 +13,7 @@
 // concept predicate;
 
 #include <concepts>
+#include <type_traits>
 
 static_assert(std::predicate<bool()>);
 static_assert(std::predicate<bool (*)()>);

diff  --git a/libcxx/test/std/concepts/concepts.lang/concept.common/common_with.compile.pass.cpp b/libcxx/test/std/concepts/concepts.lang/concept.common/common_with.compile.pass.cpp
index d66d00d370805..45c8f4825dc56 100644
--- a/libcxx/test/std/concepts/concepts.lang/concept.common/common_with.compile.pass.cpp
+++ b/libcxx/test/std/concepts/concepts.lang/concept.common/common_with.compile.pass.cpp
@@ -13,6 +13,7 @@
 // concept common_with;
 
 #include <concepts>
+#include <type_traits>
 
 template <class T, class U>
 constexpr bool CheckCommonWith() noexcept {

diff  --git a/libcxx/test/std/concepts/concepts.lang/concept.commonref/common_reference.compile.pass.cpp b/libcxx/test/std/concepts/concepts.lang/concept.commonref/common_reference.compile.pass.cpp
index 114058e5cf6f0..6bd8906b0c0cc 100644
--- a/libcxx/test/std/concepts/concepts.lang/concept.commonref/common_reference.compile.pass.cpp
+++ b/libcxx/test/std/concepts/concepts.lang/concept.commonref/common_reference.compile.pass.cpp
@@ -13,6 +13,7 @@
 // concept common_reference_with;
 
 #include <concepts>
+#include <type_traits>
 
 template <class T, class U>
 constexpr bool CheckCommonReferenceWith() noexcept {


        


More information about the libcxx-commits mailing list