[clang] 9ae41a1 - [clang-format][doc] Fix a '' (in c669541c969c) that meant to be ``
Owen Pan via cfe-commits
cfe-commits at lists.llvm.org
Sun Sep 10 12:52:57 PDT 2023
Author: Owen Pan
Date: 2023-09-10T12:52:49-07:00
New Revision: 9ae41a1472b2529a9028d003ca0e8e3812348742
URL: https://github.com/llvm/llvm-project/commit/9ae41a1472b2529a9028d003ca0e8e3812348742
DIFF: https://github.com/llvm/llvm-project/commit/9ae41a1472b2529a9028d003ca0e8e3812348742.diff
LOG: [clang-format][doc] Fix a '' (in c669541c969c) that meant to be ``
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 44bffa41d1cde95..d5d9faa5c78cffb 100644
--- a/clang/docs/ClangFormatStyleOptions.rst
+++ b/clang/docs/ClangFormatStyleOptions.rst
@@ -5514,7 +5514,7 @@ the configuration (without a prefix: ``Auto``).
.. _SpacesInParentheses:
**SpacesInParentheses** (``Boolean``) :versionbadge:`clang-format 3.7` :ref:`ΒΆ <SpacesInParentheses>`
- If ``true'', spaces will be inserted after ``(`` and before ``)``.
+ If ``true``, spaces will be inserted after ``(`` and before ``)``.
This option is **deprecated**. The previous behavior is preserved by using
``SpacesInParens`` with ``Custom`` and by setting all
``SpacesInParensOptions`` to ``true`` except for ``InCStyleCasts`` and
diff --git a/clang/include/clang/Format/Format.h b/clang/include/clang/Format/Format.h
index e0444966b3eabc7..c7bd356b7faeded 100644
--- a/clang/include/clang/Format/Format.h
+++ b/clang/include/clang/Format/Format.h
@@ -4351,7 +4351,7 @@ struct FormatStyle {
SIPO_Custom,
};
- /// If ``true'', spaces will be inserted after ``(`` and before ``)``.
+ /// If ``true``, spaces will be inserted after ``(`` and before ``)``.
/// This option is **deprecated**. The previous behavior is preserved by using
/// ``SpacesInParens`` with ``Custom`` and by setting all
/// ``SpacesInParensOptions`` to ``true`` except for ``InCStyleCasts`` and
More information about the cfe-commits
mailing list