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

            Bug ID: 35518
           Summary: clang-format: C++17 deduction guides are wrongly
                    formatted
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Formatter
          Assignee: unassignedclangb...@nondot.org
          Reporter: curde...@gmail.com
                CC: djas...@google.com, kli...@google.com,
                    llvm-bugs@lists.llvm.org

The following snippet:

  template <class... Ts>
  S(Ts...) -> S<Ts...>;

is formatted to:

  template <class... Ts>
  S(Ts...)->S<Ts...>;

Which seems to me to be wrong as the spaces are missing around -> (arrow
operator).

Version: trunk from 2017-11-22.

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

Reply via email to