[PATCH] D67509: [CUDA][HIP] Fix hostness of defaulted constructor

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 19 11:36:31 PDT 2019


yaxunl updated this revision to Diff 220892.
yaxunl edited the summary of this revision.
yaxunl added a comment.

Skip inferring for explicit host/device attrs only. Adds checks for implicit device and host attrs and avoid duplicates.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67509/new/

https://reviews.llvm.org/D67509

Files:
  lib/Sema/SemaCUDA.cpp
  test/SemaCUDA/default-ctor.cu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67509.220892.patch
Type: text/x-patch
Size: 4424 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190919/9c69b361/attachment.bin>


More information about the cfe-commits mailing list