[all-commits] [llvm/llvm-project] 8f9803: [clang-format] Add an fnmatch-like function for .c...

Owen Pan via All-commits all-commits at lists.llvm.org
Sun Dec 24 01:05:23 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8f9803b5ab0b03c31c8cb182b44bd2eb70d9d8b0
      https://github.com/llvm/llvm-project/commit/8f9803b5ab0b03c31c8cb182b44bd2eb70d9d8b0
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2023-12-24 (Sun, 24 Dec 2023)

  Changed paths:
    M clang/lib/Format/CMakeLists.txt
    A clang/lib/Format/MatchFilePath.cpp
    A clang/lib/Format/MatchFilePath.h
    M clang/unittests/Format/CMakeLists.txt
    A clang/unittests/Format/MatchFilePathTest.cpp

  Log Message:
  -----------
  [clang-format] Add an fnmatch-like function for .clang-format-ignore (#76021)

This is needed because Windows doesn't have anything equivalent to the
POSIX fnmatch() function.




More information about the All-commits mailing list