Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH-37299: [C++] Fix clang-format version mismatch error with Homebrew…
…'s clang-format (#37300) ### Rationale for this change On my mac system, the clang-format version information is: ``` ➜ ~ clang-format -version Homebrew clang-format version 16.0.4 ``` This isn't matched by the current clang-format regex in the CMake setup: ```cmake find_clang_tool(clang-format CLANG_FORMAT_BIN "^clang-format version ${ARROW_CLANG_TOOLS_VERSION_ESCAPED}") ``` ### What changes are included in this PR? Make regex more lenient to accomodate the Homebrew clang-format version string. ### Are these changes tested? no ### Are there any user-facing changes? no * Closes: #37299 Authored-by: light-city <455954986@qq.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
- Loading branch information