[clang-format] Add a option for the position of Java static import
authormydeveloperday <mydeveloperday@gmail.com>
Fri, 18 Sep 2020 17:11:33 +0000 (18:11 +0100)
committermydeveloperday <mydeveloperday@gmail.com>
Fri, 18 Sep 2020 17:12:21 +0000 (18:12 +0100)
commit2e7add812eb7bdd90bd0f0fc3b633515edd55f27
treed0e71ed9c6b9d3831527fee820288ee0166c5a66
parenta9be2b5cb2b3e752c6de2fab24aa5ad94500802b
[clang-format] Add a option for the position of Java static import

 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.

Patch by: @bc-lee

Reviewed By: MyDeveloperDay, JakeMerdichAMD

Differential Revision: https://reviews.llvm.org/D87201
clang/docs/ClangFormatStyleOptions.rst
clang/include/clang/Format/Format.h
clang/lib/Format/Format.cpp
clang/unittests/Format/FormatTest.cpp
clang/unittests/Format/SortImportsTestJava.cpp