Home
last modified time | relevance | path

Searched refs:register_plural (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/clang/docs/tools/
H A Ddump_format_style.py30 def register_plural(singular: str, plural: str): function
32 if not hasattr(register_plural, "generated_new_plural"):
36 register_plural.generated_new_plural = True
51 return register_plural(word, word[:-1] + 'ies')
53 return register_plural(word, word[:-1] + 'es')
55 return register_plural(word, word[:-2] + 'ves')
57 return register_plural(word, word[:-1] + 'ves')
59 return register_plural(word, word + 's')