[clang] b3ccf4f - [clang-format][NFC] Fix documentation
Björn Schäpers via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 24 12:19:35 PDT 2021
Author: Björn Schäpers
Date: 2021-06-24T21:19:14+02:00
New Revision: b3ccf4fc02cdb12eb0929ad9f9dfdec39b785e6a
URL: https://github.com/llvm/llvm-project/commit/b3ccf4fc02cdb12eb0929ad9f9dfdec39b785e6a
DIFF: https://github.com/llvm/llvm-project/commit/b3ccf4fc02cdb12eb0929ad9f9dfdec39b785e6a.diff
LOG: [clang-format][NFC] Fix documentation
This amends 64cf5eba06bd4f81954253b1e7a10be6fe92403e.
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 77c07284085c8..21028b1f607ad 100644
--- a/clang/docs/ClangFormatStyleOptions.rst
+++ b/clang/docs/ClangFormatStyleOptions.rst
@@ -2870,7 +2870,7 @@ the configuration (without a prefix: ``Auto``).
body to be indented one additional level relative to the parent scope
containing the lambda signature. For callback-heavy code, it may improve
readability to have the signature indented two levels and to use
- ``OuterScope``. The KJ style guide requires ``OuterScope`.
+ ``OuterScope``. The KJ style guide requires ``OuterScope``.
`KJ style guide
<https://github.com/capnproto/capnproto/blob/master/kjdoc/style-guide.md>`_
diff --git a/clang/include/clang/Format/Format.h b/clang/include/clang/Format/Format.h
index 506feea26e8dc..06aeacc9785cc 100644
--- a/clang/include/clang/Format/Format.h
+++ b/clang/include/clang/Format/Format.h
@@ -2537,7 +2537,7 @@ struct FormatStyle {
/// body to be indented one additional level relative to the parent scope
/// containing the lambda signature. For callback-heavy code, it may improve
/// readability to have the signature indented two levels and to use
- /// ``OuterScope``. The KJ style guide requires ``OuterScope`.
+ /// ``OuterScope``. The KJ style guide requires ``OuterScope``.
/// `KJ style guide
/// <https://github.com/capnproto/capnproto/blob/master/kjdoc/style-guide.md>`_
LambdaBodyIndentationKind LambdaBodyIndentation;
More information about the cfe-commits
mailing list