[llvm-bugs] [Bug 45358] New: clang-format: unexpected change on template declaration

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Mar 30 07:35:10 PDT 2020


            Bug ID: 45358
           Summary: clang-format: unexpected change on template
           Product: clang
           Version: 10.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Keywords: regression
          Severity: normal
          Priority: P
         Component: Formatter
          Assignee: unassignedclangbugs at nondot.org
          Reporter: sylvestre at debian.org
                CC: djasper at google.com, dmajor at mozilla.com,
                    klimek at google.com, llvm-bugs at lists.llvm.org,
                    unassignedclangbugs at nondot.org
            Blocks: 45309, 36294

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:

[Bug 36294] AlwaysBreakAfterReturnType works incorrectly for some operator
[Bug 45309] [meta] 10.0.1 Release Blockers
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/20200330/554bb6c1/attachment-0001.html>

More information about the llvm-bugs mailing list