Skip to content

Commit

Permalink
Add clang-format style for project
Browse files Browse the repository at this point in the history
This adds a .clang-format file for the project.

Signed-off-by: Andreas Fuchs <[email protected]>
  • Loading branch information
AndreasFuchsTPM committed Apr 26, 2024
1 parent 46a1079 commit 9377535
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# SPDX-FileCopyrightText: Copyright (c) 2023-2024 Infineon Technologies AG
#
# SPDX-License-Identifier: BSD-2-clause

---

BasedOnStyle: GNU

IndentWidth: 4
ColumnLimit: 100
BreakBeforeBraces: Attach
SpaceBeforeParens: ControlStatementsExceptControlMacros
AlignConsecutiveMacros:
Enabled: true
AcrossEmptyLines: true
AcrossComments: false

0 comments on commit 9377535

Please sign in to comment.