[libcxx-commits] [libcxx] c7576cb - [libc++][test] Fixes transitive includes.
Mark de Wever via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Nov 2 14:12:19 PDT 2022
Author: Mark de Wever
Date: 2022-11-02T22:12:13+01:00
New Revision: c7576cb89d6c95f03968076e902d3adfd1996577
URL: https://github.com/llvm/llvm-project/commit/c7576cb89d6c95f03968076e902d3adfd1996577
DIFF: https://github.com/llvm/llvm-project/commit/c7576cb89d6c95f03968076e902d3adfd1996577.diff
LOG: [libc++][test] Fixes transitive includes.
These were accidentally set to generating in
243da90ea5357c1ca324f714ea4813dc9029af27
Reviewed By: #libc, philnik
Differential Revision: https://reviews.llvm.org/D137278
Added:
Modified:
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
Removed:
################################################################################
diff --git a/libcxx/test/libcxx/transitive_includes.sh.cpp b/libcxx/test/libcxx/transitive_includes.sh.cpp
index edb696fb8da54..04c5debbea855 100644
--- a/libcxx/test/libcxx/transitive_includes.sh.cpp
+++ b/libcxx/test/libcxx/transitive_includes.sh.cpp
@@ -52,7 +52,7 @@ import re
# 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 @@ END-SCRIPT
#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
diff --git a/libcxx/test/libcxx/transitive_includes/cxx03.csv b/libcxx/test/libcxx/transitive_includes/cxx03.csv
index 1bdb9cb7e7f71..a7250cf841dba 100644
--- a/libcxx/test/libcxx/transitive_includes/cxx03.csv
+++ b/libcxx/test/libcxx/transitive_includes/cxx03.csv
@@ -107,6 +107,7 @@ charconv iosfwd
charconv limits
charconv type_traits
chrono compare
+chrono cstdint
chrono ctime
chrono limits
chrono ratio
diff --git a/libcxx/test/libcxx/transitive_includes/cxx11.csv b/libcxx/test/libcxx/transitive_includes/cxx11.csv
index b8b01397da9a0..97dff0bf62d4d 100644
--- a/libcxx/test/libcxx/transitive_includes/cxx11.csv
+++ b/libcxx/test/libcxx/transitive_includes/cxx11.csv
@@ -107,6 +107,7 @@ charconv iosfwd
charconv limits
charconv type_traits
chrono compare
+chrono cstdint
chrono ctime
chrono limits
chrono ratio
diff --git a/libcxx/test/libcxx/transitive_includes/cxx14.csv b/libcxx/test/libcxx/transitive_includes/cxx14.csv
index 0a9ece5a121a9..e0935e85f1b7f 100644
--- a/libcxx/test/libcxx/transitive_includes/cxx14.csv
+++ b/libcxx/test/libcxx/transitive_includes/cxx14.csv
@@ -107,6 +107,7 @@ charconv iosfwd
charconv limits
charconv type_traits
chrono compare
+chrono cstdint
chrono ctime
chrono limits
chrono ratio
diff --git a/libcxx/test/libcxx/transitive_includes/cxx17.csv b/libcxx/test/libcxx/transitive_includes/cxx17.csv
index 0a9ece5a121a9..e0935e85f1b7f 100644
--- a/libcxx/test/libcxx/transitive_includes/cxx17.csv
+++ b/libcxx/test/libcxx/transitive_includes/cxx17.csv
@@ -107,6 +107,7 @@ charconv iosfwd
charconv limits
charconv type_traits
chrono compare
+chrono cstdint
chrono ctime
chrono limits
chrono ratio
More information about the libcxx-commits
mailing list