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

            Bug ID: 52491
           Summary: Allow function arguments/parameters to be always
                    forced one per line
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Formatter
          Assignee: unassignedclangb...@nondot.org
          Reporter: registrira...@live.com
                CC: djas...@google.com, kli...@google.com,
                    llvm-bugs@lists.llvm.org

Some code styles, e.g. Microsoft use the following formatting for function
arguments/parameters, which is impossible to configure with the available
options:

// a.h
void func1(
   int a1,
   int a2
);

// a.c
void func2(
   int b1,
   int b2
) {
  func1(
    b1,
    b2
  );
};

Arguments/parameters should be always forced on a new line.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to