https://github.com/hnakamura5 created https://github.com/llvm/llvm-project/pull/85760
Intend to fix the `Test documentation build `, degraded here https://github.com/llvm/llvm-project/pull/83149 . >From 612bc89ef805a3324520f4b7ef1ebb13e334ec0b Mon Sep 17 00:00:00 2001 From: hnakamura5 <k.nakamura.hirof...@gmail.com> Date: Tue, 19 Mar 2024 18:46:37 +0900 Subject: [PATCH] [clang-format] Fixed the warning in building document for TableGenBreakingDAGArgOperators. --- clang/docs/ClangFormatStyleOptions.rst | 2 +- clang/include/clang/Format/Format.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/docs/ClangFormatStyleOptions.rst b/clang/docs/ClangFormatStyleOptions.rst index 35b6d0a2b52b67..be021dfc5c084c 100644 --- a/clang/docs/ClangFormatStyleOptions.rst +++ b/clang/docs/ClangFormatStyleOptions.rst @@ -6204,7 +6204,7 @@ the configuration (without a prefix: ``Auto``). For example the configuration, - .. code-block:: c++ + .. code-block:: yaml TableGenBreakInsideDAGArg: BreakAll TableGenBreakingDAGArgOperators: ['ins', 'outs'] diff --git a/clang/include/clang/Format/Format.h b/clang/include/clang/Format/Format.h index 54861a66889e22..7ad2579bf7773b 100644 --- a/clang/include/clang/Format/Format.h +++ b/clang/include/clang/Format/Format.h @@ -4735,7 +4735,7 @@ struct FormatStyle { /// the specified identifiers. /// /// For example the configuration, - /// \code + /// \code{.yaml} /// TableGenBreakInsideDAGArg: BreakAll /// TableGenBreakingDAGArgOperators: ['ins', 'outs'] /// \endcode _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits