[PATCH] D108765: [docs] Fix documentation of clang-format BasedOnStyle type
Ludovic Jozeau via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 27 15:42:54 PDT 2021
FederAndInk added inline comments.
================
Comment at: clang/docs/tools/dump_format_style.py:23
+ plurals = {
+ 'IncludeCategory': 'IncludeCategories'
+ }
----------------
HazardyKnusperkeks wrote:
> Could you not just check if there is a y at the end and replace it with ies, otherweise add an s?
Well, I thought about it, but then what about: whish -> whishes, leaf -> leaves, ... and irregulars? That's why I brought up the idea about using python inflect. Do you think it's enough for now to replace y -> ies and put an 's' to the others?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D108765/new/
https://reviews.llvm.org/D108765
More information about the cfe-commits
mailing list