[all-commits] [llvm/llvm-project] 252cea: [Hexagon] Add defaulted operator= to classes with ...

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Thu Aug 18 14:01:03 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 252cea037bcad6e1e7236756bcbb4e4ed73e328d
  Author: Krzysztof Parzyszek <kparzysz at quicinc.com>
  Date:   2022-08-18 (Thu, 18 Aug 2022)

  Changed paths:
    M llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp

  Log Message:
  [Hexagon] Add defaulted operator= to classes with defaulted copy ctor

This avoids deprecation warning:
warning: definition of implicit copy assignment operator for 'AddrInfo'
is deprecated because it has a user-declared copy constructor

This fixes https://github.com/llvm/llvm-project/issues/57229

More information about the All-commits mailing list