[clang] [clang-format] Add SpaceBeforeEnumUnderlyingTypeColon for enum underlying types (PR #189011)
Björn Schäpers via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 1 02:09:30 PDT 2026
================
@@ -5121,14 +5121,20 @@ struct FormatStyle {
/// \version 7
bool SpaceBeforeCtorInitializerColon;
- /// If ``false``, spaces will be removed before inheritance colon
- /// and enum underlying type colon.
+ /// If ``false``, spaces will be removed before enum underlying type colon.
/// \code
/// true: false:
- /// class Foo : Bar {} vs. class Foo: Bar {}
/// enum E : int {} enum E: int {}
/// \endcode
/// \version 7
----------------
HazardyKnusperkeks wrote:
23
https://github.com/llvm/llvm-project/pull/189011
More information about the cfe-commits
mailing list