[llvm-bugs] [Bug 41413] New: clang-format incorrectly indents wrapped closing parenthesis

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Apr 6 22:53:40 PDT 2019


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

            Bug ID: 41413
           Summary: clang-format incorrectly indents wrapped closing
                    parenthesis
           Product: clang
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Formatter
          Assignee: unassignedclangbugs at nondot.org
          Reporter: owenpiano at gmail.com
                CC: djasper at google.com, klimek at google.com,
                    llvm-bugs at lists.llvm.org

The wrapped closing parentheses below should not be but are indented:

Foo::Foo(
    //
)
    : foo(0) {}

int Foo::getter(
    //
) const {
  return foo;
}

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190407/deeea733/attachment.html>


More information about the llvm-bugs mailing list