Skip to content

clang-format has no support for dangling parenthesis "( )" #146

Description

@RadWolfie

This ticket will act as a watchlist for https://reviews.llvm.org/D33029 ticket.

How does this affect us?
Planned OOVPA_SIG_MATCH macro support to count all OV arrays on compile time will end up result to:

OOVPA_SIG_MATCH(
    OV_MATCH(0x04, 'S'),
    OV_MATCH(0x0B, 'E'),
    OV_MATCH(0x11, 'D'), );

Workaround solution is: (for time being)

OOVPA_SIG_MATCH(
    OV_MATCH(0x04, 'S'),
    OV_MATCH(0x0B, 'E'),
    OV_MATCH(0x11, 'D'),
    // add comment line here to force closing parenthesis stay on new line
);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions