Skip to content

Commit

Permalink
Change uncrustify max line length to 0 (#42)
Browse files Browse the repository at this point in the history
This is for compatibility with uncrustify v0.68.
  • Loading branch information
jacobperron authored Dec 21, 2018
1 parent 80107e3 commit b2f7475
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,8 @@ if(BUILD_TESTING AND rosidl_generate_action_interfaces_ADD_LINTER_TESTS)
ament_uncrustify(
TESTNAME "uncrustify_rosidl_typesupport_c_generate_actions"
# the generated code might contain longer lines for templated types
MAX_LINE_LENGTH 999
# a value of zero tells uncrustify to ignore line lengths
MAX_LINE_LENGTH 0
"${_output_path}")
endif()
endif()
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,8 @@ if(BUILD_TESTING AND rosidl_generate_interfaces_ADD_LINTER_TESTS)
ament_uncrustify(
TESTNAME "uncrustify_rosidl_typesupport_c"
# the generated code might contain longer lines for templated types
MAX_LINE_LENGTH 999
# a value of zero tells uncrustify to ignore line lengths
MAX_LINE_LENGTH 0
"${_output_path}")
endif()
endif()
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,8 @@ if(BUILD_TESTING AND rosidl_generate_action_interfaces_ADD_LINTER_TESTS)
ament_uncrustify(
TESTNAME "uncrustify_rosidl_typesupport_cpp_generate_actions"
# the generated code might contain longer lines for templated types
MAX_LINE_LENGTH 999
# a value of zero tells uncrustify to ignore line lengths
MAX_LINE_LENGTH 0
"${_output_path}")
endif()
endif()
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,8 @@ if(BUILD_TESTING AND rosidl_generate_interfaces_ADD_LINTER_TESTS)
ament_uncrustify(
TESTNAME "uncrustify_rosidl_typesupport_cpp"
# the generated code might contain longer lines for templated types
MAX_LINE_LENGTH 999
# a value of zero tells uncrustify to ignore line length
MAX_LINE_LENGTH 0
"${_output_path}")
endif()
endif()

0 comments on commit b2f7475

Please sign in to comment.