calumr wrote: #27126 was the issue. I've added a comment there with a clearer example of what clang-format is currently doing to C++/CLI code. I appreciate this PR is not complete & I need to add tests. https://github.com/llvm/llvm-project/pull/112689