[PATCH] D33823: [clang-format] Support sorting using declarations

Francois Ferrand via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 16 05:44:23 PDT 2017


Typz added inline comments.


================
Comment at: lib/Format/UsingDeclarationsSorter.cpp:66
+  }
+  return HasIdentifier && Tok && Tok->isOneOf(tok::semi, tok::comma);
+}
----------------
could also be followed by an assignment, in case of type alias:

  using foo = bar::foo;


https://reviews.llvm.org/D33823





More information about the cfe-commits mailing list