From 36554bce6a0ae22250a16ec82e87f042f6fb0b4f Mon Sep 17 00:00:00 2001 From: "Artem M. Chirkin" <9253178+achirkin@users.noreply.github.com> Date: Mon, 29 Jun 2026 14:14:32 +0200 Subject: [PATCH] Exclude SPDX copyright lines from .clang-format --- cpp/.clang-format | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/.clang-format b/cpp/.clang-format index 1cbd64cbce..415a38e814 100644 --- a/cpp/.clang-format +++ b/cpp/.clang-format @@ -56,7 +56,7 @@ BreakConstructorInitializers: BeforeColon BreakInheritanceList: BeforeColon BreakStringLiterals: true ColumnLimit: 100 -CommentPragmas: '^ IWYU pragma:' +CommentPragmas: '^ (IWYU pragma:)|(SPDX-)' CompactNamespaces: false ConstructorInitializerAllOnOneLineOrOnePerLine: true # Kept the below 2 to be the same as `IndentWidth` to keep everything uniform