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