[libc++][NFC] Wrap line endings for clang-tidy tests (#171688)
Otherwise, the lines are extremely long and basically impossible to
read.
NOKEYCHECK=True
GitOrigin-RevId: 54b62d7a29198dec3669bf261ed446f9fe159ad9
diff --git a/test/libcxx/clang_tidy.gen.py b/test/libcxx/clang_tidy.gen.py
index 16c90c3..614df2e 100644
--- a/test/libcxx/clang_tidy.gen.py
+++ b/test/libcxx/clang_tidy.gen.py
@@ -27,7 +27,11 @@
{lit_header_undeprecations.get(header, '')}
// TODO: run clang-tidy with modules enabled once they are supported
-// RUN: %{{clang-tidy}} %s --warnings-as-errors=* -header-filter=.* --config-file=%{{libcxx-dir}}/.clang-tidy --load=%{{test-tools-dir}}/clang_tidy_checks/libcxx-tidy.plugin -- -Wweak-vtables %{{compile_flags}} -fno-modules
+// RUN: %{{clang-tidy}} %s --warnings-as-errors=* \\
+// RUN: -header-filter=.* \\
+// RUN: --config-file=%{{libcxx-dir}}/.clang-tidy \\
+// RUN: --load=%{{test-tools-dir}}/clang_tidy_checks/libcxx-tidy.plugin \\
+// RUN: -- -Wweak-vtables %{{compile_flags}} -fno-modules
#include <{header}>
""")
diff --git a/test/libcxx/clang_tidy.sh.py b/test/libcxx/clang_tidy.sh.py
index 46f281f..6304285 100644
--- a/test/libcxx/clang_tidy.sh.py
+++ b/test/libcxx/clang_tidy.sh.py
@@ -8,4 +8,8 @@
# REQUIRES: has-clang-tidy
-# RUN: %{python} %{libcxx-dir}/../clang-tools-extra/clang-tidy/tool/run-clang-tidy.py -clang-tidy-binary %{clang-tidy} -warnings-as-errors "*" -source-filter=".*libcxx/src.*" -quiet -p %{bin-dir}/..
+# RUN: %{python} %{libcxx-dir}/../clang-tools-extra/clang-tidy/tool/run-clang-tidy.py \
+# RUN: -clang-tidy-binary %{clang-tidy} \
+# RUN: -warnings-as-errors "*" \
+# RUN: -source-filter=".*libcxx/src.*" \
+# RUN: -quiet -p %{bin-dir}/..