Otherwise we may crash because the special member has not been sufficiently set up yet.
Fixes #54537
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D122846
[CUDA] Don't call inferCUDATargetForImplicitSpecialMember too early. ClosedPublic Authored by tra on Mar 31 2022, 12:37 PM.
Details Summary Otherwise we may crash because the special member has not been sufficiently set up yet.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Mar 31 2022, 1:36 PM This revision was landed with ongoing or failed builds.Mar 31 2022, 1:52 PM Closed by commit rGfe528e721633: [CUDA] Don't call inferCUDATargetForImplicitSpecialMember too early. (authored by tra). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 419565 clang/lib/Sema/SemaDeclCXX.cpp
clang/test/SemaCUDA/pr54537.cu
|