Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pass explicit language to uncrustify #214

Merged
merged 9 commits into from
Feb 20, 2020

Conversation

dirk-thomas
Copy link
Contributor

Since the latest version of uncrustify fails for C files otherwise and upstream will unlikely fix the regression: see uncrustify/uncrustify#2641.

  • Linux Build Status (unrelated test failures)
  • Linux-aarch64 Build Status (same)
  • macOS Build Status (same)
  • Windows Build Status
  • Windows-container Build Status (unrelated compiler warnings)

Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
@dirk-thomas dirk-thomas self-assigned this Feb 18, 2020
ament_uncrustify/ament_uncrustify/main.py Outdated Show resolved Hide resolved
ament_uncrustify/ament_uncrustify/main.py Show resolved Hide resolved
ament_uncrustify/ament_uncrustify/main.py Outdated Show resolved Hide resolved
ament_uncrustify/ament_uncrustify/main.py Show resolved Hide resolved
ament_uncrustify/ament_uncrustify/main.py Outdated Show resolved Hide resolved
Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
Copy link
Contributor

@hidmic hidmic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but for a final question, plus CI after last changes (at least on one platform, just in case)

ament_uncrustify/ament_uncrustify/main.py Outdated Show resolved Hide resolved
Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
@dirk-thomas
Copy link
Contributor Author

dirk-thomas commented Feb 18, 2020

Another CI build to double check the recent iterations - Linux only: Build Status

Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
@dirk-thomas
Copy link
Contributor Author

For urdf an option to pass an explicit language was necessary (same as already done for cppcheck) since the package uses .h for C++ files.

  • Linux: Build Status

Copy link
Contributor

@hidmic hidmic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but for a nit

ament_uncrustify/ament_uncrustify/main.py Show resolved Hide resolved
ament_uncrustify/ament_uncrustify/main.py Outdated Show resolved Hide resolved
Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
@dirk-thomas dirk-thomas merged commit 608c41e into master Feb 20, 2020
@delete-merged-branch delete-merged-branch bot deleted the dirk-thomas/uncrustify-pass-explicit-language branch February 20, 2020 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants