From aed795942b78876d004c146133d9077012256aff Mon Sep 17 00:00:00 2001 From: Owen Pan Date: Fri, 26 May 2023 02:10:38 -0700 Subject: [PATCH] [clang-format][doc] Fix a typo introduced in 9aab0db13fb6d --- 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 a8fc651..8f23a4a 100644 --- a/clang/docs/ClangFormatStyleOptions.rst +++ b/clang/docs/ClangFormatStyleOptions.rst @@ -2453,7 +2453,7 @@ the configuration (without a prefix: ``Auto``). * ``BBCDS_Allowed`` (in configuration: ``Allowed``) Breaking between template declaration and ``concept`` is allowed. The actual behavior depends on the content and line breaking rules and - penalities. + penalties. * ``BBCDS_Always`` (in configuration: ``Always``) Always break before ``concept``, putting it in the line after the diff --git a/clang/include/clang/Format/Format.h b/clang/include/clang/Format/Format.h index 78c0847..6a9d435 100644 --- a/clang/include/clang/Format/Format.h +++ b/clang/include/clang/Format/Format.h @@ -1801,7 +1801,7 @@ struct FormatStyle { BBCDS_Never, /// Breaking between template declaration and ``concept`` is allowed. The /// actual behavior depends on the content and line breaking rules and - /// penalities. + /// penalties. BBCDS_Allowed, /// Always break before ``concept``, putting it in the line after the /// template declaration. -- 2.7.4