[PATCH] D153228: [clang-format] Fixed bad performance with enabled qualifier fixer.

Sedenion via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 23 11:04:10 PDT 2023


Sedeniono updated this revision to Diff 534024.
Sedeniono added a comment.

As suggested by the reviewers, the noop fixes are now filtered only if the qualifier alignment passes are active. Also implemented the other minor refactorings.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D153228

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153228.534024.patch
Type: text/x-patch
Size: 8696 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230623/aeadf769/attachment-0001.bin>


More information about the cfe-commits mailing list