[PATCH] D69764: [clang-format] Add Left/Right Const (East/West , Before/After) fixer capability
Jonas Toth via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 19 01:44:01 PST 2019
JonasToth added inline comments.
================
Comment at: clang/include/clang/Format/Format.h:1110
+ /// Different const alignment styles.
+ enum ConstAlignmentStyle {
+ /// Don't change const to either East const or West const.
----------------
Drive-By question: https://reviews.llvm.org/D54395 implements clang-tidy part of adding `const` to variables. It would be great to use the same underlying functionality, e.g. this enum for determining which const-style to use.
Is this header-file always accessible from clang-tidy-code? Or can e.g. clang-format be deactivated while building leading to exclusion of these bits?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69764/new/
https://reviews.llvm.org/D69764
More information about the cfe-commits
mailing list