[PATCH] D158697: [clang-format][doc] Correct typos
Owen Pan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 23 22:42:41 PDT 2023
owenpan accepted this revision.
owenpan added inline comments.
This revision is now accepted and ready to land.
================
Comment at: clang/docs/ClangFormatStyleOptions.rst:5129
* ``bool AfterControlStatements`` If ``true``, put space between control statement keywords
(for/if/while...) and opening parentheses.
----------------
11e2975810acd fixed the typo `betwee` here while it should have fixed it in Format.h instead.
================
Comment at: clang/include/clang/Format/Format.h:4046
struct SpaceBeforeParensCustom {
- /// If ``true``, put space betwee control statement keywords
+ /// If ``true``, put space between control statement keywords
/// (for/if/while...) and opening parentheses.
----------------
Or to be more precise: `put a space between a control statement keyword (for/if/while) and the opening parenthesis that follows.`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D158697/new/
https://reviews.llvm.org/D158697
More information about the cfe-commits
mailing list