[PATCH] D87201: [clang-format] Add a option for the position of Java static import

Byoungchan Lee via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Sep 5 21:51:54 PDT 2020


bc-lee created this revision.
bc-lee added a reviewer: MyDeveloperDay.
bc-lee added projects: clang, clang-format.
Herald added a subscriber: cfe-commits.
bc-lee requested review of this revision.

Some Java style guides and IDEs group Java static imports after
 non-static imports. This patch allows clang-format to control
 the location of static imports.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D87201

Files:
  clang/docs/ClangFormatStyleOptions.rst
  clang/include/clang/Format/Format.h
  clang/lib/Format/Format.cpp
  clang/unittests/Format/SortImportsTestJava.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87201.290121.patch
Type: text/x-patch
Size: 4721 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200906/dc2b003b/attachment.bin>


More information about the cfe-commits mailing list