[PATCH] D69764: [clang-format] Add Left/Right Const fixer capability

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 14 01:29:56 PDT 2021


MyDeveloperDay marked 3 inline comments as done.
MyDeveloperDay added inline comments.


================
Comment at: clang/docs/ClangFormatStyleOptions.rst:2101
 
+**CVQualifierAlignment** (``CVQualifierAlignmentStyle``)
+  Different ways to arrange const/volatile qualifiers.
----------------
curdeius wrote:
> Why not just `Qualifier` to allow future additions for other qualifiers?
> Technically, `static` or `inline` are not qualifiers, but that maybe is clear enough?
> 
> Other possibility, `Specifier` (as in "inline specifier")?
> OTOH, `Keyword` may be too generic.
If its ok I think we can stick with Qualifier although it does support `static/inline/const/volatile/restrcit/constexpr` I think the primary usage will be `type const` and `const type`


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

https://reviews.llvm.org/D69764



More information about the cfe-commits mailing list