[all-commits] [llvm/llvm-project] b53628: Reland "[clang-format] Optimize processing .clang-...

Owen Pan via All-commits all-commits at lists.llvm.org
Tue Jan 9 21:34:39 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b53628a52d1947c51e250d6fa4ff5dd12b737aa0
      https://github.com/llvm/llvm-project/commit/b53628a52d1947c51e250d6fa4ff5dd12b737aa0
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2024-01-09 (Tue, 09 Jan 2024)

  Changed paths:
    M clang/docs/ClangFormat.rst
    M clang/test/Format/clang-format-ignore.cpp
    M clang/tools/clang-format/ClangFormat.cpp

  Log Message:
  -----------
  Reland "[clang-format] Optimize processing .clang-format-ignore files"

(42ec976184ac was reverted by 26993f61673e due to a use-after-scope bug.)

Reuse the patterns governing the previous input file being formatted if
the current input file is from the same directory.




More information about the All-commits mailing list