[PATCH] D144709: [clang-format] Improve west to east const

Alexander Hederstaf via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 24 01:18:42 PST 2023


AlexanderHederstaf created this revision.
Herald added a project: All.
AlexanderHederstaf requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

  Qualifiers were not moved for non-pointer non-simple types.
  Remove the requirement for *,&,&& and add extra checks for
  previous tokens. Further simplify the logic for types by
  additional requirements on tokens preceeding the current
  test.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D144709

Files:
  clang/lib/Format/QualifierAlignmentFixer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144709.500102.patch
Type: text/x-patch
Size: 6272 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230224/292fa525/attachment.bin>


More information about the cfe-commits mailing list