[clang] [clang-format] Support fine-grained alignment of variable declarations (PR #160270)

Björn Schäpers via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 4 11:46:27 PST 2025


HazardyKnusperkeks wrote:

> I've experiemented with implementing the struct approach, which I think is my preferred style. I've got this functionally working, but am a bit stuck on how to revise the testing in ConfigParseTest.cpp, specifically the bit with all the CHECK_PARSE macros etc. Would anybody be able to guide me on how to update the tests, based on an impelmentation that matches @owenca's proposal?

I'd say just start. If you have a concrete question I may help you. You can take a look at `CHECK_PARSE_NESTED_VALUE`.

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


More information about the cfe-commits mailing list