From 48597d76825e0d2174023f107b0f27659abf4ad3 Mon Sep 17 00:00:00 2001 From: Paulo Matos Date: Wed, 16 Jul 2025 11:36:47 +0200 Subject: [PATCH] Ensure .clang-format-ignore is compatible with clang-format-19 Since clang-format-19 doesn't support globstar yet, add .clang-format to disable formatting inside External/. --- .clang-format-ignore | 4 ---- External/.clang-format | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) create mode 100644 External/.clang-format diff --git a/.clang-format-ignore b/.clang-format-ignore index f86588fa0..33d78802c 100644 --- a/.clang-format-ignore +++ b/.clang-format-ignore @@ -1,8 +1,4 @@ # This file is used to ignore files and directories from clang-format - -# Ignore all files in the External directory -External/* - Source/Common/cpp-optparse/* # Files with human-indented tables for readability - don't mess with these diff --git a/External/.clang-format b/External/.clang-format new file mode 100644 index 000000000..e3845288a --- /dev/null +++ b/External/.clang-format @@ -0,0 +1 @@ +DisableFormat: true