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

            Bug ID: 43851
           Summary: Extra spaces surrounding arrow in templated member
                    call in variable decl
           Product: clang
           Version: 8.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Formatter
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]

Created attachment 22749
  --> https://bugs.llvm.org/attachment.cgi?id=22749&action=edit
repro

The last declaration in the following code:

  struct A {
    template <int> A foo();
  };

  auto p = new A;
  auto x = p -> foo<1>();

Should be

  auto x = p->foo<1>();

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to