How to mark a region so clang-format won’t touch it? February 3, 2023 by Tarik In newer version, you can surround a section of code with: // clang-format off ... // clang-format on