Author: Owen Pan Date: 2025-01-03T20:10:33-08:00 New Revision: 34f0611bc36db40789823030a3748a8595198719
URL: https://github.com/llvm/llvm-project/commit/34f0611bc36db40789823030a3748a8595198719 DIFF: https://github.com/llvm/llvm-project/commit/34f0611bc36db40789823030a3748a8595198719.diff LOG: [clang-format][doc] Minor cleanup Added: Modified: clang/docs/ClangFormatStyleOptions.rst clang/include/clang/Format/Format.h Removed: ################################################################################ diff --git a/clang/docs/ClangFormatStyleOptions.rst b/clang/docs/ClangFormatStyleOptions.rst index 7bfaee4e2d35b9..637ec23e0abaf7 100644 --- a/clang/docs/ClangFormatStyleOptions.rst +++ b/clang/docs/ClangFormatStyleOptions.rst @@ -4661,12 +4661,13 @@ the configuration (without a prefix: ``Auto``). .. _KeepEmptyLinesAtEOF: **KeepEmptyLinesAtEOF** (``Boolean``) :versionbadge:`clang-format 17` :ref:`¶ <KeepEmptyLinesAtEOF>` - This option is deprecated. See ``AtEndOfFile`` of ``KeepEmptyLines``. + This option is **deprecated**. See ``AtEndOfFile`` of ``KeepEmptyLines``. .. _KeepEmptyLinesAtTheStartOfBlocks: **KeepEmptyLinesAtTheStartOfBlocks** (``Boolean``) :versionbadge:`clang-format 3.7` :ref:`¶ <KeepEmptyLinesAtTheStartOfBlocks>` - This option is deprecated. See ``AtStartOfBlock`` of ``KeepEmptyLines``. + This option is **deprecated**. See ``AtStartOfBlock`` of + ``KeepEmptyLines``. .. _KeepFormFeed: @@ -6730,8 +6731,8 @@ the configuration (without a prefix: ``Auto``). .. _TemplateNames: **TemplateNames** (``List of Strings``) :versionbadge:`clang-format 20` :ref:`¶ <TemplateNames>` - A vector of non-keyword identifiers that should be interpreted as - template names. + A vector of non-keyword identifiers that should be interpreted as template + names. A ``<`` after a template name is annotated as a template opener instead of a binary operator. diff --git a/clang/include/clang/Format/Format.h b/clang/include/clang/Format/Format.h index 9b7a633e0a1461..8d410775496901 100644 --- a/clang/include/clang/Format/Format.h +++ b/clang/include/clang/Format/Format.h @@ -3203,11 +3203,12 @@ struct FormatStyle { /// \version 19 KeepEmptyLinesStyle KeepEmptyLines; - /// This option is deprecated. See ``AtEndOfFile`` of ``KeepEmptyLines``. + /// This option is **deprecated**. See ``AtEndOfFile`` of ``KeepEmptyLines``. /// \version 17 // bool KeepEmptyLinesAtEOF; - /// This option is deprecated. See ``AtStartOfBlock`` of ``KeepEmptyLines``. + /// This option is **deprecated**. See ``AtStartOfBlock`` of + /// ``KeepEmptyLines``. /// \version 3.7 // bool KeepEmptyLinesAtTheStartOfBlocks; @@ -5042,8 +5043,8 @@ struct FormatStyle { /// \version 3.7 unsigned TabWidth; - /// A vector of non-keyword identifiers that should be interpreted as - /// template names. + /// A vector of non-keyword identifiers that should be interpreted as template + /// names. /// /// A ``<`` after a template name is annotated as a template opener instead of /// a binary operator. _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits