[clang] [clang-format] Add AlignConsecutiveEnums (PR #194154)

Björn Schäpers via cfe-commits cfe-commits at lists.llvm.org
Sat Apr 25 12:09:45 PDT 2026


https://github.com/HazardyKnusperkeks commented:

You need to:

* Run `clang/docs/dump_format_style.py`
* Add a release note
* Add parsing tests
* Most importantly: Add tests for your option

Does this really need to be a complete new option and alignment call, or could one just add a suboption and check that in aligning the assignments? If it gets its own function, the option should be disabled when aligning assignments is also turned on, so that we don't run a second time over the equals and don't change anything.

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


More information about the cfe-commits mailing list