================
@@ -623,9 +645,34 @@ void prepareLeftRightOrderingForQualifierAlignmentFixer(
tok::TokenKind QualifierToken =
LeftRightQualifierAlignmentFixer::getTokenFromQualifier(s);
- if (QualifierToken != tok::kw_typeof && QualifierToken != tok::identifier)
+ if (QualifierToken != tok::kw_typeof && QualifierToken != tok::identifier)
{
Qualifiers.push_back(QualifierToken);
+ // Ensure signed/unsigned and long/short qualifier pairs are positioned
+ // together by default unless the user has explicitly specified both in
+ // the QualifierOrder. This allows users to override the default pairing
+ // by listing both qualifiers in the order.
+ auto addPairedQualifier = [&](tok::TokenKind PairedToken,
----------------
Katze719 wrote:
thx, my bad. will fix it when i get home
https://github.com/llvm/llvm-project/pull/160853
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits