[libcxx-commits] [PATCH] D118056: [libc++][nfc] Include test_macros.h in more tests.

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jan 27 08:28:47 PST 2022


This revision was automatically updated to reflect the committed changes.
Mordante marked an inline comment as done.
Closed by commit rG5d3ab6a2bb36: [libc++][nfc] Include test_macros.h in more tests. (authored by Mordante).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118056/new/

https://reviews.llvm.org/D118056

Files:
  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
  libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/integral.pass.cpp
  libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/signed_integral.pass.cpp
  libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/unsigned_integral.pass.cpp
  libcxx/test/std/language.support/cmp/cmp.concept/three_way_comparable.compile.pass.cpp
  libcxx/test/std/numerics/rand/rand.req/rand.req.urng/uniform_random_bit_generator.compile.pass.cpp


Index: libcxx/test/std/numerics/rand/rand.req/rand.req.urng/uniform_random_bit_generator.compile.pass.cpp
===================================================================
--- libcxx/test/std/numerics/rand/rand.req/rand.req.urng/uniform_random_bit_generator.compile.pass.cpp
+++ libcxx/test/std/numerics/rand/rand.req/rand.req.urng/uniform_random_bit_generator.compile.pass.cpp
@@ -14,6 +14,8 @@
 
 #include <random>
 
+#include "test_macros.h"
+
 static_assert(std::uniform_random_bit_generator<
               std::linear_congruential_engine<unsigned int, 0U, 1U, 2U> >);
 
Index: libcxx/test/std/language.support/cmp/cmp.concept/three_way_comparable.compile.pass.cpp
===================================================================
--- libcxx/test/std/language.support/cmp/cmp.concept/three_way_comparable.compile.pass.cpp
+++ libcxx/test/std/language.support/cmp/cmp.concept/three_way_comparable.compile.pass.cpp
@@ -15,6 +15,7 @@
 #include <compare>
 
 #include "compare_types.h"
+#include "test_macros.h"
 
 namespace fundamentals {
 // with default ordering
Index: libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/unsigned_integral.pass.cpp
===================================================================
--- libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/unsigned_integral.pass.cpp
+++ libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/unsigned_integral.pass.cpp
@@ -16,6 +16,7 @@
 #include <type_traits>
 
 #include "arithmetic.h"
+#include "test_macros.h"
 
 template <typename T>
 constexpr bool CheckUnsignedIntegralQualifiers() {
Index: libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/signed_integral.pass.cpp
===================================================================
--- libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/signed_integral.pass.cpp
+++ libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/signed_integral.pass.cpp
@@ -16,6 +16,7 @@
 #include <type_traits>
 
 #include "arithmetic.h"
+#include "test_macros.h"
 
 template <typename T>
 constexpr bool CheckSignedIntegralQualifiers() {
Index: libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/integral.pass.cpp
===================================================================
--- libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/integral.pass.cpp
+++ libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/integral.pass.cpp
@@ -16,6 +16,7 @@
 #include <type_traits>
 
 #include "arithmetic.h"
+#include "test_macros.h"
 
 template <typename T>
 constexpr bool CheckIntegralQualifiers() {
Index: libcxx/test/std/concepts/concepts.lang/concept.commonref/common_reference.compile.pass.cpp
===================================================================
--- libcxx/test/std/concepts/concepts.lang/concept.commonref/common_reference.compile.pass.cpp
+++ libcxx/test/std/concepts/concepts.lang/concept.commonref/common_reference.compile.pass.cpp
@@ -15,6 +15,8 @@
 #include <concepts>
 #include <type_traits>
 
+#include "test_macros.h"
+
 template <class T, class U>
 constexpr bool CheckCommonReferenceWith() noexcept {
   static_assert(std::common_reference_with<T, U&>);
Index: libcxx/test/std/concepts/concepts.lang/concept.common/common_with.compile.pass.cpp
===================================================================
--- libcxx/test/std/concepts/concepts.lang/concept.common/common_with.compile.pass.cpp
+++ libcxx/test/std/concepts/concepts.lang/concept.common/common_with.compile.pass.cpp
@@ -15,6 +15,8 @@
 #include <concepts>
 #include <type_traits>
 
+#include "test_macros.h"
+
 template <class T, class U>
 constexpr bool CheckCommonWith() noexcept {
   constexpr bool result = std::common_with<T, U>;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118056.403670.patch
Type: text/x-patch
Size: 3701 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220127/4ad1cbdb/attachment.bin>


More information about the libcxx-commits mailing list