Skip to content

Commit 29cde04

Browse files
authored
[clang-format] Fixed the warning in building document for TableGenBreakingDAGArgOperators. (#85760)
Intend to fix the `Test documentation build `, degraded here #83149 .
1 parent e85bfa6 commit 29cde04

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clang/docs/ClangFormatStyleOptions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6204,7 +6204,7 @@ the configuration (without a prefix: ``Auto``).
62046204

62056205
For example the configuration,
62066206

6207-
.. code-block:: c++
6207+
.. code-block:: yaml
62086208
62096209
TableGenBreakInsideDAGArg: BreakAll
62106210
TableGenBreakingDAGArgOperators: ['ins', 'outs']

clang/include/clang/Format/Format.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4735,7 +4735,7 @@ struct FormatStyle {
47354735
/// the specified identifiers.
47364736
///
47374737
/// For example the configuration,
4738-
/// \code
4738+
/// \code{.yaml}
47394739
/// TableGenBreakInsideDAGArg: BreakAll
47404740
/// TableGenBreakingDAGArgOperators: ['ins', 'outs']
47414741
/// \endcode

0 commit comments

Comments
 (0)