[llvm-branch-commits] [libcxx] 30a7d43 - [libc++] Turn off auto-formatting of generated files. NFC.
Marek Kurdej via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Jan 11 11:54:08 PST 2021
Author: Marek Kurdej
Date: 2021-01-11T20:49:26+01:00
New Revision: 30a7d430e869bb0d8c61ef9999a04f56e4dd2377
URL: https://github.com/llvm/llvm-project/commit/30a7d430e869bb0d8c61ef9999a04f56e4dd2377
DIFF: https://github.com/llvm/llvm-project/commit/30a7d430e869bb0d8c61ef9999a04f56e4dd2377.diff
LOG: [libc++] Turn off auto-formatting of generated files. NFC.
This adds `// clang-format off` in the auto-generated file to avoid lint warnings.
Reviewed By: ldionne, #libc
Differential Revision: https://reviews.llvm.org/D94410
Added:
Modified:
libcxx/test/std/language.support/support.limits/support.limits.general/algorithm.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/any.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/array.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/atomic.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/barrier.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/bit.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/chrono.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/cmath.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/compare.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/complex.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/concepts.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/cstddef.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/deque.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/exception.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/execution.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/filesystem.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/forward_list.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/functional.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/iomanip.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/istream.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/iterator.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/latch.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/limits.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/list.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/locale.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/map.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/memory.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/mutex.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/new.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/numbers.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/numeric.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/optional.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/ostream.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/regex.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/scoped_allocator.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/semaphore.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/set.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/shared_mutex.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/span.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/string.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/string_view.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/thread.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/tuple.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/type_traits.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/unordered_map.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/unordered_set.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/utility.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/variant.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/vector.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/version.version.pass.cpp
libcxx/utils/generate_feature_test_macro_components.py
Removed:
################################################################################
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/algorithm.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/algorithm.version.pass.cpp
index efbe87c3c7d5..4e570d2d69e0 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/algorithm.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/algorithm.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// <algorithm>
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/any.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/any.version.pass.cpp
index 7ea99df8df34..cd393b2b404b 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/any.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/any.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// <any>
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/array.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/array.version.pass.cpp
index 4cc0f8c8c808..b0dedfb4a7b0 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/array.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/array.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// <array>
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/atomic.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/atomic.version.pass.cpp
index 16e4e3753819..b964e0c6921e 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/atomic.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/atomic.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// UNSUPPORTED: libcpp-has-no-threads
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/barrier.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/barrier.version.pass.cpp
index f485b7948858..b193095403e9 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/barrier.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/barrier.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// UNSUPPORTED: libcpp-has-no-threads
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/bit.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/bit.version.pass.cpp
index c88e80a81d67..4ae4949d4ff2 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/bit.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/bit.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// <bit>
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/chrono.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/chrono.version.pass.cpp
index e0e699634f70..58af9a474b37 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/chrono.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/chrono.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// <chrono>
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/cmath.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/cmath.version.pass.cpp
index eabf7e7028b1..5a1017102239 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/cmath.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/cmath.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// <cmath>
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/compare.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/compare.version.pass.cpp
index 76f9a101bd11..14a19e097284 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/compare.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/compare.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// <compare>
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/complex.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/complex.version.pass.cpp
index 485152877735..c48a1894eada 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/complex.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/complex.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// <complex>
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/concepts.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/concepts.version.pass.cpp
index 442301c804f9..4ca51bdd8c34 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/concepts.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/concepts.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// <concepts>
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/cstddef.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/cstddef.version.pass.cpp
index cba6bec13cca..c2b970a0c753 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/cstddef.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/cstddef.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// <cstddef>
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/deque.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/deque.version.pass.cpp
index 54fe25726fd2..ec2036141e87 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/deque.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/deque.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// <deque>
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/exception.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/exception.version.pass.cpp
index 4a420c611e26..d14e9a7f7130 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/exception.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/exception.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// <exception>
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/execution.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/execution.version.pass.cpp
index 54d2995a6b72..8b2a75568a9e 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/execution.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/execution.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// <execution>
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/filesystem.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/filesystem.version.pass.cpp
index 815c00d694ee..44850780d315 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/filesystem.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/filesystem.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// <filesystem>
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/forward_list.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/forward_list.version.pass.cpp
index a890aff5691c..2fc172586518 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/forward_list.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/forward_list.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// <forward_list>
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/functional.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/functional.version.pass.cpp
index 6fa1ac6ada5b..6e65a8fbd774 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/functional.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/functional.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// <functional>
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/iomanip.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/iomanip.version.pass.cpp
index 45df7e509e63..38d8f27ff1b0 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/iomanip.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/iomanip.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// UNSUPPORTED: libcpp-has-no-localization
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/istream.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/istream.version.pass.cpp
index 60dde8e60279..9ea01ebe06df 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/istream.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/istream.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// UNSUPPORTED: libcpp-has-no-localization
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/iterator.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/iterator.version.pass.cpp
index f36d28594516..27318c51a0a0 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/iterator.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/iterator.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// <iterator>
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/latch.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/latch.version.pass.cpp
index ebeebec32377..29e8fd617bbf 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/latch.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/latch.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// UNSUPPORTED: libcpp-has-no-threads
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/limits.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/limits.version.pass.cpp
index 72d0e0b7c224..fecb03d1867b 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/limits.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/limits.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// <limits>
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/list.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/list.version.pass.cpp
index fa455cf0d4bf..92d0c0f23791 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/list.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/list.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// <list>
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/locale.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/locale.version.pass.cpp
index 6f63f67670b1..f9620763c762 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/locale.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/locale.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// UNSUPPORTED: libcpp-has-no-localization
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/map.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/map.version.pass.cpp
index 4410a5a6a613..85c5b46d7e3f 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/map.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/map.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// <map>
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/memory.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/memory.version.pass.cpp
index 71ab699ef189..7be4372b8d7e 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/memory.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/memory.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// <memory>
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/mutex.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/mutex.version.pass.cpp
index 9896953457a3..9e76cfb75745 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/mutex.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/mutex.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// <mutex>
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/new.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/new.version.pass.cpp
index c937438c7534..5fbb8afe14ab 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/new.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/new.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// <new>
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/numbers.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/numbers.version.pass.cpp
index 96619ab92c6f..9e6b1fa86540 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/numbers.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/numbers.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// <numbers>
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/numeric.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/numeric.version.pass.cpp
index f6c76977b545..afdb176bea43 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/numeric.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/numeric.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// <numeric>
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/optional.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/optional.version.pass.cpp
index d3a3ca7b9950..58c3a0e0dc54 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/optional.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/optional.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// <optional>
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/ostream.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/ostream.version.pass.cpp
index 2bc25a4d74d4..586cd8ec6d57 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/ostream.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/ostream.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// UNSUPPORTED: libcpp-has-no-localization
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/regex.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/regex.version.pass.cpp
index 14935710f320..df1506a05e6e 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/regex.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/regex.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// UNSUPPORTED: libcpp-has-no-localization
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/scoped_allocator.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/scoped_allocator.version.pass.cpp
index 1ce7999ace21..2e8f78d930e1 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/scoped_allocator.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/scoped_allocator.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// <scoped_allocator>
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/semaphore.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/semaphore.version.pass.cpp
index 463122161a76..febeb6f6c615 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/semaphore.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/semaphore.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// UNSUPPORTED: libcpp-has-no-threads
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/set.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/set.version.pass.cpp
index 8dd54c86571b..57fdd5b21f40 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/set.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/set.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// <set>
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/shared_mutex.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/shared_mutex.version.pass.cpp
index c6151749b7c2..953fd0a37790 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/shared_mutex.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/shared_mutex.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// UNSUPPORTED: libcpp-has-no-threads
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/span.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/span.version.pass.cpp
index c8750fd446cb..0ff32da4ad35 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/span.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/span.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// <span>
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/string.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/string.version.pass.cpp
index 25f6659e0d22..1daadbaaf346 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/string.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/string.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// <string>
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/string_view.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/string_view.version.pass.cpp
index 6a82e02c366e..a55ac8473f9a 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/string_view.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/string_view.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// <string_view>
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/thread.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/thread.version.pass.cpp
index 284eabf9f7c8..c84c12490d89 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/thread.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/thread.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// UNSUPPORTED: libcpp-has-no-threads
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/tuple.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/tuple.version.pass.cpp
index 4b95dd6d67f8..ef9f61428782 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/tuple.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/tuple.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// <tuple>
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/type_traits.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/type_traits.version.pass.cpp
index 9afaa1bcd047..04c6aaa81fd7 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/type_traits.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/type_traits.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// <type_traits>
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/unordered_map.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/unordered_map.version.pass.cpp
index b0ba18cb143c..b8e20ff848ba 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/unordered_map.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/unordered_map.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// <unordered_map>
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/unordered_set.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/unordered_set.version.pass.cpp
index d57f82b77f68..89692c766ab7 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/unordered_set.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/unordered_set.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// <unordered_set>
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/utility.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/utility.version.pass.cpp
index b2842a592cd1..ab495be78e9a 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/utility.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/utility.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// <utility>
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/variant.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/variant.version.pass.cpp
index 10c7aa9dcc7d..6d198d1121f7 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/variant.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/variant.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// <variant>
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/vector.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/vector.version.pass.cpp
index d6a7937b4c70..e4fed01f4a08 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/vector.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/vector.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// <vector>
diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/version.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/version.version.pass.cpp
index a75d6db28b22..664c8fe75839 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/version.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/version.version.pass.cpp
@@ -8,6 +8,8 @@
//
// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
+//
+// clang-format off
// <version>
diff --git a/libcxx/utils/generate_feature_test_macro_components.py b/libcxx/utils/generate_feature_test_macro_components.py
index a58c41663066..daa40f2a15ac 100755
--- a/libcxx/utils/generate_feature_test_macro_components.py
+++ b/libcxx/utils/generate_feature_test_macro_components.py
@@ -933,6 +933,8 @@ def produce_tests():
//
// WARNING: This test was generated by {script_name}
// and should not be edited manually.
+//
+// clang-format off
{markup}
// <{header}>
More information about the llvm-branch-commits
mailing list