[all-commits] [llvm/llvm-project] 94b97d: [clang-format] Fix annotation of Java/JavaScript k...

Owen Pan via All-commits all-commits at lists.llvm.org
Fri Feb 14 14:31:05 PST 2025


  Branch: refs/heads/release/20.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 94b97d19b7fa0fd1b5959e788bac104a017e6755
      https://github.com/llvm/llvm-project/commit/94b97d19b7fa0fd1b5959e788bac104a017e6755
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2025-02-14 (Fri, 14 Feb 2025)

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

  Log Message:
  -----------
  [clang-format] Fix annotation of Java/JavaScript keyword extends (#125038)

Uncovered in #124891.

(cherry picked from commit ea84474966f19af4f1f4a1250ec258af1c6e2571)


  Commit: 6d3b034f8f7d47909309b9869f43397b64e99f91
      https://github.com/llvm/llvm-project/commit/6d3b034f8f7d47909309b9869f43397b64e99f91
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2025-02-14 (Fri, 14 Feb 2025)

  Changed paths:
    M clang/lib/Format/FormatToken.h
    M clang/lib/Format/TokenAnnotator.cpp
    M clang/lib/Format/UnwrappedLineParser.cpp
    M clang/unittests/Format/TokenAnnotatorTest.cpp

  Log Message:
  -----------
  [clang-format] Add ClassHeadName to help annotating StartOfName (#124891)

Fixes #124574.

(cherry picked from commit 1a25bea852cd4f7d99e644953c31278f7f257ccd)


Compare: https://github.com/llvm/llvm-project/compare/37f7f151e586...6d3b034f8f7d

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list