[llvm-bugs] [Bug 45110] New: clang-format unexpected line break in template argument list

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Mar 5 00:16:58 PST 2020


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

            Bug ID: 45110
           Summary: clang-format unexpected line break in template
                    argument list
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Formatter
          Assignee: unassignedclangbugs at nondot.org
          Reporter: hans at chromium.org
                CC: djasper at google.com, klimek at google.com,
                    llvm-bugs at lists.llvm.org

This is blocking Chromium's update of clang-format.

At current master (llvmorg-11-init-4771-g3a063d68e3c):

$ echo 'friend WTF::ThreadSpecific<LineBreakIteratorPool>::operator
LineBreakIteratorPool*();' | bin/clang-format --style=Chromium
friend WTF::ThreadSpecific<
    LineBreakIteratorPool>::operator LineBreakIteratorPool*();

Expected:
friend WTF::ThreadSpecific<LineBreakIteratorPool>::
operator LineBreakIteratorPool*();

-- 
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/20200305/11c70aea/attachment.html>


More information about the llvm-bugs mailing list