Skip to content

Commit a94011b

Browse files
authored
Merge pull request #450 from tropicsquare/ETR01SDK-553-clang-format-adjust-characters-per-line-and-breaking-lines
ETR01SDK-553: clang-format: adjust characters per line and breaking lines
2 parents ab6a674 + 3a21004 commit a94011b

File tree

152 files changed

+16275
-13480
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

152 files changed

+16275
-13480
lines changed

.clang-format

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ BasedOnStyle: Google
1111
BreakBeforeBraces: Stroustrup
1212

1313
# --- INDENTATION & WIDTH ---
14-
ColumnLimit: 120
14+
ColumnLimit: 103
1515

1616
# "You shall indent the code with 4 spaces"
1717
IndentWidth: 4
@@ -41,4 +41,7 @@ SpaceBeforeAssignmentOperators: true
4141
# Misc Cleanup
4242
SortIncludes: true
4343
IndentCaseLabels: true
44-
BreakBeforeBinaryOperators: All
44+
# Keep operators at the end of the line
45+
BreakBeforeBinaryOperators: None
46+
# Make breaking at '=' very expensive so it forces breaks inside arguments instead
47+
PenaltyBreakAssignment: 100

TROPIC01_fw_update_files/boot_v_1_0_1/fw_v_1_0_0/fw_CPU.h

Lines changed: 1460 additions & 1230 deletions
Large diffs are not rendered by default.

TROPIC01_fw_update_files/boot_v_1_0_1/fw_v_1_0_0/fw_SPECT.h

Lines changed: 652 additions & 549 deletions
Large diffs are not rendered by default.

TROPIC01_fw_update_files/boot_v_1_0_1/fw_v_1_0_1/fw_CPU.h

Lines changed: 1460 additions & 1230 deletions
Large diffs are not rendered by default.

TROPIC01_fw_update_files/boot_v_1_0_1/fw_v_1_0_1/fw_SPECT.h

Lines changed: 652 additions & 549 deletions
Large diffs are not rendered by default.

TROPIC01_fw_update_files/boot_v_1_0_1/fw_v_2_0_0/fw_CPU.h

Lines changed: 1481 additions & 1248 deletions
Large diffs are not rendered by default.

TROPIC01_fw_update_files/boot_v_1_0_1/fw_v_2_0_0/fw_SPECT.h

Lines changed: 652 additions & 549 deletions
Large diffs are not rendered by default.

TROPIC01_fw_update_files/boot_v_2_0_1/fw_v_1_0_0/fw_CPU.h

Lines changed: 1705 additions & 1436 deletions
Large diffs are not rendered by default.

TROPIC01_fw_update_files/boot_v_2_0_1/fw_v_1_0_0/fw_SPECT.h

Lines changed: 766 additions & 645 deletions
Large diffs are not rendered by default.

TROPIC01_fw_update_files/boot_v_2_0_1/fw_v_1_0_1/fw_CPU.h

Lines changed: 1675 additions & 1411 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)