[llvm] [LLVM] Clang format cleanups. (PR #82184)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 19 09:59:18 PST 2024


MaskRay wrote:

Instead of `clang-format -i` which formats the whole file, we usually specify `-lines` to restrict the formatting to the modified region. Then, usually there is no bulk formatting is needed at all.

See `clang/tools/clang-format/git-clang-format`


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


More information about the llvm-commits mailing list