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

            Bug ID: 45358
           Summary: clang-format: unexpected change on template
                    declaration
           Product: clang
           Version: 10.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Keywords: regression
          Severity: normal
          Priority: P
         Component: Formatter
          Assignee: unassignedclangb...@nondot.org
          Reporter: sylves...@debian.org
                CC: djas...@google.com, dma...@mozilla.com,
                    kli...@google.com, llvm-bugs@lists.llvm.org,
                    unassignedclangb...@nondot.org
            Blocks: 45309, 36294

with:
template <typename MutexType>
BaseAutoUnlock(MutexType &)->BaseAutoUnlock<MutexType &>;


clang-format-10 returns:
template <typename MutexType>
BaseAutoUnlock(MutexType &) -> BaseAutoUnlock<MutexType &>;

(note the " -> ")

not sure it is a legit change?


Referenced Bugs:

https://bugs.llvm.org/show_bug.cgi?id=36294
[Bug 36294] AlwaysBreakAfterReturnType works incorrectly for some operator
functions
https://bugs.llvm.org/show_bug.cgi?id=45309
[Bug 45309] [meta] 10.0.1 Release Blockers
-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to