[PATCH] D156795: [CUDA][HIP] Fix overloading resolution of delete operator

2023-08-08 Thread Yaxun Liu via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rG247cc265e74e: [CUDA][HIP] Fix overloading resolution of delete operator (authored by yaxunl). Herald added a project: clang. Changed prior to commit: https://reviews.llvm.org/D156795?vs=546045&id=548198

[PATCH] D156795: [CUDA][HIP] Fix overloading resolution of delete operator

2023-08-01 Thread Yaxun Liu via Phabricator via cfe-commits
yaxunl created this revision. yaxunl added a reviewer: tra. Herald added a subscriber: mattd. Herald added a project: All. yaxunl requested review of this revision. Currently clang does not consider host/device preference when resolving delete operator in the file scope, which causes device opera