[clang] [clang-format] Handle constrained auto in QualifierAlignment (PR #72251)
Owen Pan via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 14 15:31:46 PST 2023
================
@@ -345,6 +345,8 @@ const FormatToken *LeftRightQualifierAlignmentFixer::analyzeRight(
TypeToken = Next->getNextNonComment()->getNextNonComment();
}
}
+ if (Next->is(tok::kw_auto))
----------------
owenca wrote:
```suggestion
if (Next->is(tok::kw_auto))
```
https://github.com/llvm/llvm-project/pull/72251
More information about the cfe-commits
mailing list