[clang] d7a8e09 - [clang-format] Add --strip-trailing-cr to diff in docs_updated.test (#119666)

via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 13 00:03:07 PST 2024


Author: Owen Pan
Date: 2024-12-13T00:03:03-08:00
New Revision: d7a8e09893c43ad1169ff34989c3bec721d8b1a9

URL: https://github.com/llvm/llvm-project/commit/d7a8e09893c43ad1169ff34989c3bec721d8b1a9
DIFF: https://github.com/llvm/llvm-project/commit/d7a8e09893c43ad1169ff34989c3bec721d8b1a9.diff

LOG: [clang-format] Add --strip-trailing-cr to diff in docs_updated.test (#119666)

Fixes #119517.

Added: 
    

Modified: 
    clang/test/Format/docs_updated.test

Removed: 
    


################################################################################
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


        


More information about the cfe-commits mailing list