[clang] [clang-format] modified goto bool to enum (PR #65140)
Björn Schäpers via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 4 12:22:40 PDT 2023
================
@@ -3311,22 +3311,22 @@ the configuration (without a prefix: ``Auto``).
.. _IndentGotoLabels:
-**IndentGotoLabels** (``Boolean``) :versionbadge:`clang-format 10` :ref:`¶ <IndentGotoLabels>`
+**IndentGotoLabels** (``enum``) :versionbadge:`clang-format 10` :ref:`¶ <IndentGotoLabels>`
Indent goto labels.
- When ``false``, goto labels are flushed left.
+ When ``GLI_None``, goto labels are flushed left.
----------------
HazardyKnusperkeks wrote:
Do you edit this by hand?
`ClangFormatStyleOptions.rst` is generated by clang/docs/tools/dump_format_style.py.
So do all your edits in `Format.h`, and then run the script.
https://github.com/llvm/llvm-project/pull/65140
More information about the cfe-commits
mailing list