From a3d9e5119661dac80fd1ecc2afd46f2c45199a54 Mon Sep 17 00:00:00 2001 From: Gil Forsyth Date: Wed, 1 Jul 2026 14:31:20 -0400 Subject: [PATCH] fix(clang-format): update comment pragmas for copyright notice --- cpp/.clang-format | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/.clang-format b/cpp/.clang-format index 3d86bfd087..4965d2a2b3 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