[all-commits] [llvm/llvm-project] 247cc2: [CUDA][HIP] Fix overloading resolution of delete o...
Yaxun (Sam) Liu via All-commits
all-commits at lists.llvm.org
Tue Aug 8 06:51:06 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 247cc265e74e25164ee7ce85e6c9c53b3d177740
https://github.com/llvm/llvm-project/commit/247cc265e74e25164ee7ce85e6c9c53b3d177740
Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
Date: 2023-08-08 (Tue, 08 Aug 2023)
Changed paths:
M clang/lib/Sema/SemaExprCXX.cpp
A clang/test/CodeGenCUDA/member-init.cu
A clang/test/SemaCUDA/member-init.cu
Log Message:
-----------
[CUDA][HIP] Fix overloading resolution of delete operator
Currently clang does not consider host/device preference
when resolving delete operator in the file scope, which
causes device operator delete selected for class member
initialization.
Reviewed by: Artem Belevich
Differential Revision: https://reviews.llvm.org/D156795
More information about the All-commits
mailing list