[PATCH] D110801: [clang-format] [docs] [NFC] improve clarity in the QualifierAlignment warning

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 30 02:38:41 PDT 2021


MyDeveloperDay added a comment.

> We have no such indication but want to play safe until this has been tested in the wild.

We have no indication of issues yet, other than those of using macros, any we do find we would hope to fix, much like any other clang-format bug.

I have run this on a number of significant code bases including turning large parts of clang itself into east cost, (not helped by LLVM lack of global clang-formatted status!)

The macro case is already mitigated but if people are using macros in this horrendous way AND their macros are lower case it would fail, but I don't feel the need to provide an example! I simply couldn't bring myself to write such horrible code! ;-)


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

https://reviews.llvm.org/D110801



More information about the cfe-commits mailing list