krasimir added inline comments.
================ Comment at: lib/Format/UsingDeclarationsSorter.cpp:66 + } + return HasIdentifier && Tok && Tok->isOneOf(tok::semi, tok::comma); +} ---------------- Typz wrote: > could also be followed by an assignment, in case of type alias: > > using foo = bar::foo; 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. https://reviews.llvm.org/D33823 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits