[all-commits] [llvm/llvm-project] 2e7add: [clang-format] Add a option for the position of Ja...

MyDeveloperDay via All-commits all-commits at lists.llvm.org
Fri Sep 18 10:12:55 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2e7add812eb7bdd90bd0f0fc3b633515edd55f27
      https://github.com/llvm/llvm-project/commit/2e7add812eb7bdd90bd0f0fc3b633515edd55f27
  Author: mydeveloperday <mydeveloperday at gmail.com>
  Date:   2020-09-18 (Fri, 18 Sep 2020)

  Changed paths:
    M clang/docs/ClangFormatStyleOptions.rst
    M clang/include/clang/Format/Format.h
    M clang/lib/Format/Format.cpp
    M clang/unittests/Format/FormatTest.cpp
    M clang/unittests/Format/SortImportsTestJava.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list