[libcxx-commits] [PATCH] D137278: [libc++][test] Fixes transitive includes.

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Nov 2 12:08:19 PDT 2022


Mordante updated this revision to Diff 472721.
Mordante added a comment.

Regenerate files.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D137278

Files:
  libcxx/test/libcxx/transitive_includes.sh.cpp
  libcxx/test/libcxx/transitive_includes/cxx03.csv
  libcxx/test/libcxx/transitive_includes/cxx11.csv
  libcxx/test/libcxx/transitive_includes/cxx14.csv
  libcxx/test/libcxx/transitive_includes/cxx17.csv


Index: libcxx/test/libcxx/transitive_includes/cxx17.csv
===================================================================
--- libcxx/test/libcxx/transitive_includes/cxx17.csv
+++ libcxx/test/libcxx/transitive_includes/cxx17.csv
@@ -107,6 +107,7 @@
 charconv limits
 charconv type_traits
 chrono compare
+chrono cstdint
 chrono ctime
 chrono limits
 chrono ratio
Index: libcxx/test/libcxx/transitive_includes/cxx14.csv
===================================================================
--- libcxx/test/libcxx/transitive_includes/cxx14.csv
+++ libcxx/test/libcxx/transitive_includes/cxx14.csv
@@ -107,6 +107,7 @@
 charconv limits
 charconv type_traits
 chrono compare
+chrono cstdint
 chrono ctime
 chrono limits
 chrono ratio
Index: libcxx/test/libcxx/transitive_includes/cxx11.csv
===================================================================
--- libcxx/test/libcxx/transitive_includes/cxx11.csv
+++ libcxx/test/libcxx/transitive_includes/cxx11.csv
@@ -107,6 +107,7 @@
 charconv limits
 charconv type_traits
 chrono compare
+chrono cstdint
 chrono ctime
 chrono limits
 chrono ratio
Index: libcxx/test/libcxx/transitive_includes/cxx03.csv
===================================================================
--- libcxx/test/libcxx/transitive_includes/cxx03.csv
+++ libcxx/test/libcxx/transitive_includes/cxx03.csv
@@ -107,6 +107,7 @@
 charconv limits
 charconv type_traits
 chrono compare
+chrono cstdint
 chrono ctime
 chrono limits
 chrono ratio
Index: libcxx/test/libcxx/transitive_includes.sh.cpp
===================================================================
--- libcxx/test/libcxx/transitive_includes.sh.cpp
+++ libcxx/test/libcxx/transitive_includes.sh.cpp
@@ -52,7 +52,7 @@
 # the file and run this test.
 # Note that this needs to be done for all supported language versions of libc++:
 # for std in c++03 c++11 c++14 c++17 c++20 c++2b; do <build>/bin/llvm-lit --param std=$std ${path_to_this_file}; done
-regenerate_expected_results = True
+regenerate_expected_results = False
 # Used because the sequence of tokens RUN : can't appear anywhere or it'll confuse Lit.
 RUN = "RUN"
 
@@ -560,5 +560,6 @@
 #if defined(TEST_140)
 #include <ext/hash_set>
 #endif
-// RUN: %{python} %S/transitive_includes_to_csv.py %t > %S/transitive_includes/%{cxx_std}.csv
+// RUN: %{python} %S/transitive_includes_to_csv.py %t > %t/transitive_includes.csv
+// RUN: diff -w %S/transitive_includes/%{cxx_std}.csv %t/transitive_includes.csv
 // GENERATED-MARKER


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137278.472721.patch
Type: text/x-patch
Size: 2462 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20221102/f732278e/attachment.bin>


More information about the libcxx-commits mailing list