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

Fix formatting of call operator after init-list #2920

Merged
merged 1 commit into from
Sep 22, 2020

Commits on Sep 21, 2020

  1. Fix formatting of call operator after init-list

    Correctly mark parentheses following a braced initializer list as a
    function call. (Specifically, this is invoking operator() of the
    just-constructed object.) Also, check for this when applying spaces so
    that we use sp_func_call_paren[_empty] rather than failing to match any
    rule and falling back to the default of always adding a space.
    mwoehlke committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    d57990e View commit details
    Browse the repository at this point in the history