Skip to content
Snippets Groups Projects
Commit 6367ae51 authored by Prada Sarasola, Miguel's avatar Prada Sarasola, Miguel
Browse files

Update to a more recent version of clang-format in related job

parent de826401
No related branches found
No related tags found
1 merge request!93Update to a more recent version of clang-format in related job
Pipeline #140285 failed
...@@ -15,9 +15,9 @@ clang_format: ...@@ -15,9 +15,9 @@ clang_format:
- wget https://git.code.tecnalia.com/tecnalia_robotics-public/gitlab_templates/raw/${GITLAB_TEMPLATES_BRANCH}/clang-format -O .clang-format - wget https://git.code.tecnalia.com/tecnalia_robotics-public/gitlab_templates/raw/${GITLAB_TEMPLATES_BRANCH}/clang-format -O .clang-format
script: .ci_config/gitlab.sh script: .ci_config/gitlab.sh
variables: variables:
ROS_DISTRO: kinetic ROS_DISTRO: noetic
CLANG_FORMAT_CHECK: file CLANG_FORMAT_CHECK: file
CLANG_FORMAT_VERSION: "3.8" CLANG_FORMAT_VERSION: 10
when: always when: always
########################################################## ##########################################################
......
--- ---
# Format file from: https://github.com/davetcoleman/roscpp_code_format (bfa4ea78b4ac856da07458c8824bf5eb327ea693) # Format file from: https://github.com/PickNikRobotics/roscpp_code_format (75a84b075d648828b7aa64094699e5ab5cc7adb7)
BasedOnStyle: Google BasedOnStyle: Google
AccessModifierOffset: -2 AccessModifierOffset: -2
ConstructorInitializerIndentWidth: 2 ConstructorInitializerIndentWidth: 2
...@@ -9,9 +9,8 @@ AllowAllParametersOfDeclarationOnNextLine: false ...@@ -9,9 +9,8 @@ AllowAllParametersOfDeclarationOnNextLine: false
AllowShortIfStatementsOnASingleLine: false AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false AllowShortLoopsOnASingleLine: false
AllowShortFunctionsOnASingleLine: None AllowShortFunctionsOnASingleLine: None
AllowShortLoopsOnASingleLine: false
AlwaysBreakTemplateDeclarations: true AlwaysBreakTemplateDeclarations: true
AlwaysBreakBeforeMultilineStrings: false AlwaysBreakBeforeMultilineStrings: true
BreakBeforeBinaryOperators: false BreakBeforeBinaryOperators: false
BreakBeforeTernaryOperators: false BreakBeforeTernaryOperators: false
BreakConstructorInitializersBeforeComma: true BreakConstructorInitializersBeforeComma: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment