[PATCH] D139801: [clang-format] Adds 'friend' to QualifierOrder.

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 12 23:53:12 PST 2022


MyDeveloperDay added a comment.

I know I have situations where I like `inline` and `static` to be in a certain order to avoid them getting constantly swapped around, they are never going to be after the type but I still want them the same way, I'd be ok with allow `friend` for the same reason.

I'm just pleased people find this feature useful, despite the original concern raised and the hairiness of the implementation. I also appreciate the concessions made by others to allow clang-format to alter code as this has opened the doors in my view to 1 or 2 other great code modification changes.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139801/new/

https://reviews.llvm.org/D139801



More information about the cfe-commits mailing list