Skip to content

Does not break at end of do while loop #3

@davetcoleman

Description

@davetcoleman

The format needs to add a break before while in a 'do...while' loop.

This:

do {
    ...
} while (condition);

Should become:

do {
    ...
}
while (condition);

roslint currently complains

Someone has a fork of clang-format that claims to fix this, but I haven't investigated any further beyond encouraging them to submit it upstream:
https://github.com/ebaker355/clang-format

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions