Skip to content

Commit 638e92f

Browse files
authored
Merge pull request #167 from UniversalRobots/clang-format-update
Added case label statement to clang-format stylesheet
2 parents 8e2ee63 + 285f249 commit 638e92f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.clang-format

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ BreakBeforeBraces: Custom
5252

5353
# Control of individual brace wrapping cases
5454
BraceWrapping: {
55+
AfterCaseLabel: 'true'
5556
AfterClass: 'true'
5657
AfterControlStatement: 'true'
5758
AfterEnum : 'true'

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
env:
1212
ROS_DISTRO: melodic
1313
CLANG_FORMAT_CHECK: file
14-
CLANG_FORMAT_VERSION: "6.0"
14+
CLANG_FORMAT_VERSION: "9"
1515

1616
build:
1717
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)