[llvm-bugs] [Bug 35968] New: Parameters are not aligned as expected

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jan 16 07:07:53 PST 2018


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

            Bug ID: 35968
           Summary: Parameters are not aligned as expected
           Product: clang
           Version: 5.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Formatter
          Assignee: unassignedclangbugs at nondot.org
          Reporter: tawfic_alsamadi at yahoo.com
                CC: djasper at google.com, klimek at google.com,
                    llvm-bugs at lists.llvm.org

Hello,

I have the following setting:

IndentWidth: 4
AlignAfterOpenBracket: Align
BreakBeforeBraces: Allman
AlwaysBreakBeforeMultilineStrings: false
ColumnLimit: 90

BinPackArguments: false
BinPackParameters: false

And when I run clang-format:

Got:
ret = testXUnreportedInfo(
    "aaaaaaaaaaaaaaaaa", "bbbbbbbbbbbbbbbbbbbbbb", "cccccccccccccccccccc");

Expected:
ret = testXUnreportedInfo("aaaaaaaaaaaaaaaaa",
                          "bbbbbbbbbbbbbbbbbbbbbb",
                          "cccccccccccccccccccc");

-- 
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/20180116/932480b8/attachment.html>


More information about the llvm-bugs mailing list