https://github.com/MaheshRavishankar commented: I don't know this code path as well, but change seems ok to me. But overall, maybe we should just call clang-format on the generated code if we can directly invoke the code from c++. https://github.com/llvm/llvm-project/pull/78090