[all-commits] [llvm/llvm-project] 6b3470: Revert "[CUDA][HIP] make trivial ctor/dtor host de...
Yaxun (Sam) Liu via All-commits
all-commits at lists.llvm.org
Wed Nov 22 18:21:28 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6b3470b4b83195aeeda60b101e8d3bf8800c321c
https://github.com/llvm/llvm-project/commit/6b3470b4b83195aeeda60b101e8d3bf8800c321c
Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
Date: 2023-11-22 (Wed, 22 Nov 2023)
Changed paths:
M clang/include/clang/Sema/Sema.h
M clang/lib/Sema/SemaCUDA.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/test/SemaCUDA/call-host-fn-from-device.cu
M clang/test/SemaCUDA/default-ctor.cu
M clang/test/SemaCUDA/implicit-member-target-collision-cxx11.cu
M clang/test/SemaCUDA/implicit-member-target-collision.cu
M clang/test/SemaCUDA/implicit-member-target-inherited.cu
M clang/test/SemaCUDA/implicit-member-target.cu
R clang/test/SemaCUDA/trivial-ctor-dtor.cu
Log Message:
-----------
Revert "[CUDA][HIP] make trivial ctor/dtor host device (#72394)"
This reverts commit 27e6e4a4d0e3296cebad8db577ec0469a286795e.
This patch is reverted due to regression. A testcase is:
`template <class T>
struct ptr {
~ptr() { static int x = 1;}
};
template <class T>
struct Abc : ptr<T> {
public:
Abc();
~Abc() {}
};
template
class Abc<int>;
`
More information about the All-commits
mailing list