[all-commits] [llvm/llvm-project] 42ec97: [clang-format] Optimize processing .clang-format-i...

Owen Pan via All-commits all-commits at lists.llvm.org
Wed Jan 3 21:12:41 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 42ec976184acd40436acd7104ad715c60ca3e7ed
      https://github.com/llvm/llvm-project/commit/42ec976184acd40436acd7104ad715c60ca3e7ed
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2024-01-03 (Wed, 03 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:
  -----------
  [clang-format] Optimize processing .clang-format-ignore files (#76733)

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