Properly handle C2x attributes on types.