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

            Bug ID: 42417
           Summary: clang-format inserts a space after '->' for
                    operator->() overloading
           Product: clang
           Version: unspecified
          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]

clang-format formats like:

class Bug {
    auto operator-> () -> int*;
    auto operator++(int) -> int;
};

You can notice that a space inserted after 'operator->' while no space is
inserted after 'operator++'.

-- 
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