Skip to content
Commit e5d17c51 authored by Yaxun Liu's avatar Yaxun Liu
Browse files

[CUDA][HIP] Fix hostness of defaulted constructor

Clang does not respect the explicit device host attributes of defaulted special members.
Also clang does not respect the hostness of special members determined by their
first declarations.
Clang also adds duplicate implicit device or host attributes in certain cases.
This patch fixes that.
Differential Revision: https://reviews.llvm.org/D67509

llvm-svn: 372394
parent 4896f724
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment