This patch adds UsingDeclarationsSorter, a TokenAnalyzer that sorts consecutive
using declarations.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 6939 Build 6939: arc lint + arc unit
Event Timeline
lib/Format/UsingDeclarationsSorter.cpp | ||
---|---|---|
66 | could also be followed by an assignment, in case of type alias: using foo = bar::foo; |
Comment Actions
- Update test case
lib/Format/UsingDeclarationsSorter.cpp | ||
---|---|---|
66 | Type aliases are in general not safe to permute, as in: struct C { struct B { struct A; }; }; using B = C::B; using A = B::A; Adding a test specifically for this. |
Use either: