https://llvm.org/bugs/show_bug.cgi?id=24673

            Bug ID: 24673
           Summary: Lack of option to put space before brace at
                    constructor calling ("Uniform" initialization syntax)
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Formatter
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
    Classification: Unclassified

If one uses an option to always put spaces before parentheses, constructor
calls would have space before their parentheses obviously e.g.:
Widget widget ();
f (Widget (1997));

Then one probably expects to have similar formatting with "Uniform"
initialization syntax, but currently there's no option to get something
different than:
Widget widget{};
f (Widget{1997});

I think it would be nice to have an option to put a space before braces in such
cases.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to