Currently we emit DW_AT_deleted for deleted special-member
functions (i.e., ctors/dtors). However, in C++ one can mark any
member function as deleted. This patch expands the set of member
functions for which we emit DW_AT_deleted.
The DWARFv5 spec section 5.7.8 says:
<non-normative> In C++, a member function may be declared as deleted. This prevents the compiler from generating a default implementation of a special member function such as a constructor or destructor, and can affect overload resolution when used on other member functions. </non-normative> If the member function entry has been declared as deleted, then that entry has a DW_AT_deleted attribute.
Thus this change is conforming.