Skip to content

Commit

Permalink
clang-format: Do not break comments with SPDX-License-Identifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
hunger authored and ogoffart committed Jun 15, 2023
1 parent 9d31eb2 commit ffc4a44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ ColumnLimit: 100
# PenaltyExcessCharacter: 4

# Disable reflow of qdoc comments: indentation rules are different.
# Translation comments are also excluded.
CommentPragmas: "^!|^:"
# Translation comments and SDPX-License-Identifiers either.
CommentPragmas: "^(!|:|\\s*SPDX-License-Identifier: )"

# We want a space between the type and the star for pointer types.
PointerBindsToType: false
Expand Down

0 comments on commit ffc4a44

Please sign in to comment.