[clang] e772304 - [clang-format] fix typo in docs (#150658)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 25 12:30:28 PDT 2025
Author: gui martins
Date: 2025-07-25T21:30:25+02:00
New Revision: e77230424fec932b49f54165775e188be70ee75f
URL: https://github.com/llvm/llvm-project/commit/e77230424fec932b49f54165775e188be70ee75f
DIFF: https://github.com/llvm/llvm-project/commit/e77230424fec932b49f54165775e188be70ee75f.diff
LOG: [clang-format] fix typo in docs (#150658)
Closes #150533
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 7f970f6713824..02986a94a656c 100644
--- a/clang/docs/ClangFormatStyleOptions.rst
+++ b/clang/docs/ClangFormatStyleOptions.rst
@@ -1912,7 +1912,7 @@ the configuration (without a prefix: ``Auto``).
* ``SFS_InlineOnly`` (in configuration: ``InlineOnly``)
Only merge functions defined inside a class. Same as ``inline``,
- except it does not implies ``empty``: i.e. top level empty functions
+ except it does not imply ``empty``: i.e. top level empty functions
are not merged either.
.. code-block:: c++
diff --git a/clang/include/clang/Format/Format.h b/clang/include/clang/Format/Format.h
index a54ab19b7bae6..31582a40de866 100644
--- a/clang/include/clang/Format/Format.h
+++ b/clang/include/clang/Format/Format.h
@@ -831,7 +831,7 @@ struct FormatStyle {
/// Never merge functions into a single line.
SFS_None,
/// Only merge functions defined inside a class. Same as ``inline``,
- /// except it does not implies ``empty``: i.e. top level empty functions
+ /// except it does not imply ``empty``: i.e. top level empty functions
/// are not merged either.
/// \code
/// class Foo {
More information about the cfe-commits
mailing list