[llvm-bugs] [Bug 38215] New: boolean && misformatted inside template parameter list

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jul 18 16:50:35 PDT 2018


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

            Bug ID: 38215
           Summary: boolean && misformatted inside template parameter list
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Formatter
          Assignee: unassignedclangbugs at nondot.org
          Reporter: dcheng at google.com
                CC: djasper at google.com, klimek at google.com,
                    llvm-bugs at lists.llvm.org

This snippet should be formatted as:

template <typename T,
          bool supported = std::is_move_constructible<T>::value &&
              std::is_move_assignable<T>::value>
class MoveOnly;

But locally, it seems to be getting formatted as:

template <typename T,
          bool supported = std::is_move_constructible<T>::value&&
              std::is_move_assignable<T>::value>
class MoveOnly;

-- 
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/20180718/441b0ef9/attachment.html>


More information about the llvm-bugs mailing list