[clang] [clang-format] Apply SpaceBeforeInheritanceColon to enum underlying types (PR #189011)

Tharun V K via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 31 11:51:50 PDT 2026


tharunvk wrote:

> I've thought about it again, while I still believe no one would ever want to handle inheritance and enum colons differently, we have to not change the formatting with a software update (except for bugfixes or new not yet supported language constructs). That's why we need a new option, do you want to tackle this, otherwise I can make the changes.

Yep. I'll make the change to add a new option : SpaceBeforeEnumUnderlyingTypeColon

https://github.com/llvm/llvm-project/pull/189011


More information about the cfe-commits mailing list