[all-commits] [llvm/llvm-project] d8d331: [clang-format] Fix aligning of java-style declarat...

PatriotRossii via All-commits all-commits at lists.llvm.org
Mon Aug 15 20:27:55 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d8d331bc97103b6e191b96189166fefc6be54148
      https://github.com/llvm/llvm-project/commit/d8d331bc97103b6e191b96189166fefc6be54148
  Author: Danil Sidoruk <patriotrossii2019 at mail.ru>
  Date:   2022-08-15 (Mon, 15 Aug 2022)

  Changed paths:
    M clang/lib/Format/TokenAnnotator.cpp
    M clang/unittests/Format/FormatTestJava.cpp

  Log Message:
  -----------
  [clang-format] Fix aligning of java-style declarations

- Modify TokenAnnotator to work fine with java-style array declarations.
- Add test for aligning of java declarations.

Fixes #55931.

Differential Revision: https://reviews.llvm.org/D129628




More information about the All-commits mailing list