[PATCH] D144709: [clang-format] Improve QualifierAlignment

Alexander Hederstaf via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 28 07:42:35 PST 2023


AlexanderHederstaf updated this revision to Diff 501137.
AlexanderHederstaf added a comment.

Simplify insertQualifierAfter.
Ignore decltype, typeof, and _Atomic.
Set length of TT_TemplateCloser to 1.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D144709

Files:
  clang/lib/Format/QualifierAlignmentFixer.cpp
  clang/lib/Format/TokenAnnotator.cpp
  clang/unittests/Format/QualifierFixerTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144709.501137.patch
Type: text/x-patch
Size: 37954 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230228/e0f1beab/attachment-0001.bin>


More information about the cfe-commits mailing list