[llvm] [Pass][NFC] Sort and format passes in PassRegistery.def (PR #73762)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 29 00:41:02 PST 2023


nikic wrote:

> I also don't think we should be formatting the `*_WITH_PARAMS` macros as it seems to significantly hurt readability. Maybe wrap them in `// clang-format off` and `// clang-format on` so the file can be automatically formatted but without hurting readability?

The WITH_PARAMS formatting looks ok to me. We were lucky and this did not fall into the terrible "align to opening parentheses" heuristic.

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


More information about the llvm-commits mailing list