diff options
author | Yaxun Liu <Yaxun.Liu@amd.com> | 2019-09-20 14:28:09 +0000 |
---|---|---|
committer | Yaxun Liu <Yaxun.Liu@amd.com> | 2019-09-20 14:28:09 +0000 |
commit | 5765299b76e9098d2c84c69178b4ccfdb6c23bc0 (patch) | |
tree | 688786f8b963fc6720c143ff506df9eab2123a09 /include/clang/Tooling/Refactoring/Extract | |
parent | e754d199b9e3e0ddda4178cbb6870c3298375aa3 (diff) | |
download | clang-5765299b76e9098d2c84c69178b4ccfdb6c23bc0.tar.gz |
[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
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@372394 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Tooling/Refactoring/Extract')
0 files changed, 0 insertions, 0 deletions