https://github.com/owenca updated https://github.com/llvm/llvm-project/pull/119666
>From 8ee6f99cd55cb8d30340e6e89e70c60b54c07aab Mon Sep 17 00:00:00 2001 From: Owen Pan <owenpi...@gmail.com> Date: Thu, 12 Dec 2024 23:27:23 -0800 Subject: [PATCH] [clang-format] Add --strip-trailing-cr to diff in docs_updated.test Fixes #119517. --- clang/test/Format/docs_updated.test | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/clang/test/Format/docs_updated.test b/clang/test/Format/docs_updated.test index 17066650a12677..98d330e37ef450 100644 --- a/clang/test/Format/docs_updated.test +++ b/clang/test/Format/docs_updated.test @@ -1,5 +1,6 @@ // RUN: %python %S/../../docs/tools/dump_format_style.py -o %t.style -// RUN: diff %t.style %S/../../docs/ClangFormatStyleOptions.rst +// RUN: diff --strip-trailing-cr %t.style \ +// RUN: %S/../../docs/ClangFormatStyleOptions.rst // RUN: %python %S/../../docs/tools/dump_format_help.py -o %t.help -// RUN: diff %t.help %S/../../docs/ClangFormat.rst +// RUN: diff --strip-trailing-cr %t.help %S/../../docs/ClangFormat.rst _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits