[PATCH] D69764: [clang-format] Add Left/Right Const fixer capability
MyDeveloperDay via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 23 00:32:38 PDT 2021
MyDeveloperDay added inline comments.
================
Comment at: clang/lib/Format/QualifierAlignmentFixer.cpp:449
+ return false;
+ if (Tok->is(TT_TypenameMacro))
+ return false;
----------------
HazardyKnusperkeks wrote:
> I think this is still right, because it is a type (according to the configuration).
yeah, let's do this a different way after we have landed this, I was thinking about having a list of "Types" that users could specify that would help us classify tok::identifiers a little better (could help with some of the casting issues we've seen before)
I notice in projects like Linux they make heavy use of these ForeachMacros and StatementMacros, I don't want to steal another list I'd rather we had one that was very specific to types, I think this could help
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69764/new/
https://reviews.llvm.org/D69764
More information about the cfe-commits
mailing list