[clang] [clang-format] Don't swap `(const override)` with QAS_Right (PR #167191)
Björn Schäpers via cfe-commits
cfe-commits at lists.llvm.org
Sun Nov 9 15:05:28 PST 2025
================
@@ -177,13 +177,16 @@ static bool isQualifier(const FormatToken *const Tok) {
const FormatToken *LeftRightQualifierAlignmentFixer::analyzeRight(
const SourceManager &SourceMgr, const AdditionalKeywords &Keywords,
- tooling::Replacements &Fixes, const FormatToken *const Tok,
+ tooling::Replacements &Fixes, const FormatToken *Tok,
----------------
HazardyKnusperkeks wrote:
I'd keep that. We want most of our locals to be const, why not arguments?
https://github.com/llvm/llvm-project/pull/167191
More information about the cfe-commits
mailing list