[clang] [clang-format][Docs] Remove duplicated words in AlignCaseColons description (PR #77368)

via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 8 12:15:51 PST 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Yehezkel Bernat (YehezkelShB)

<details>
<summary>Changes</summary>

A few words got duplicated in the documentation of AlignCaseColons option for AlignConsecutiveShortCaseStatements

Remove them to improve readability

---
Full diff: https://github.com/llvm/llvm-project/pull/77368.diff


1 Files Affected:

- (modified) clang/docs/ClangFormatStyleOptions.rst (+1-1) 


``````````diff
diff --git a/clang/docs/ClangFormatStyleOptions.rst b/clang/docs/ClangFormatStyleOptions.rst
index 3d42571e82d8a0..08cc3050d53b29 100644
--- a/clang/docs/ClangFormatStyleOptions.rst
+++ b/clang/docs/ClangFormatStyleOptions.rst
@@ -868,7 +868,7 @@ the configuration (without a prefix: ``Auto``).
       }
 
   * ``bool AlignCaseColons`` Whether aligned case labels are aligned on the colon, or on the
-    , or on the tokens after the colon.
+    tokens after the colon.
 
     .. code-block:: c++
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/77368


More information about the cfe-commits mailing list