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

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 29 00:33:31 PST 2023


https://github.com/boomanaiden154 commented:

Thanks for looking into cleaning this up.

I didn't realize this would create so much churn when suggesting it. I think it would be good to have regardless, but curious what other reviewers think.

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?

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


More information about the llvm-commits mailing list