[libcxx-commits] [PATCH] D130997: [libc++][NFC] Don't rely on `<algorithm>` transitively including `<memory>` in tests

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Aug 2 17:46:59 PDT 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rG495519e5f823: [libc++][NFC] Don't rely on `<algorithm>` transitively including `<memory>` in… (authored by fsb4000, committed by ldionne).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130997

Files:
  libcxx/test/std/algorithms/ranges_result_alias_declarations.compile.pass.cpp


Index: libcxx/test/std/algorithms/ranges_result_alias_declarations.compile.pass.cpp
===================================================================
--- libcxx/test/std/algorithms/ranges_result_alias_declarations.compile.pass.cpp
+++ libcxx/test/std/algorithms/ranges_result_alias_declarations.compile.pass.cpp
@@ -14,6 +14,7 @@
 // ensure that all result alias declarations are defined
 
 #include <algorithm>
+#include <memory>
 #include <type_traits>
 
 using namespace std::ranges;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130997.449500.patch
Type: text/x-patch
Size: 489 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220803/06e39bbb/attachment.bin>


More information about the libcxx-commits mailing list