[all-commits] [llvm/llvm-project] 28bb04: [clang-format] QualifierOrder does not reorder tem...
MyDeveloperDay via All-commits
all-commits at lists.llvm.org
Sat Mar 5 10:09:07 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 28bb040ded83b7cffdd6e6102080ccbe7935dbfe
https://github.com/llvm/llvm-project/commit/28bb040ded83b7cffdd6e6102080ccbe7935dbfe
Author: mydeveloperday <mydeveloperday at gmail.com>
Date: 2022-03-05 (Sat, 05 Mar 2022)
Changed paths:
M clang/lib/Format/QualifierAlignmentFixer.cpp
M clang/unittests/Format/QualifierFixerTest.cpp
Log Message:
-----------
[clang-format] QualifierOrder does not reorder template arguments
https://github.com/llvm/llvm-project/issues/53981
Reorder the qualifiers inside the template argument. This should handle the simple cases of
```
<const T>
<T const>
```
But only by relaxing that single letter capital variables are not possible macros
Fixes: #53981
Reviewed By: HazardyKnusperkeks, curdeius
Differential Revision: https://reviews.llvm.org/D120710
More information about the All-commits
mailing list