[PATCH] D122846: [CUDA] Don't call inferCUDATargetForImplicitSpecialMember too early.

Artem Belevich via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 31 12:37:45 PDT 2022


tra created this revision.
tra added a reviewer: yaxunl.
Herald added a subscriber: bixia.
Herald added a project: All.
tra requested review of this revision.
Herald added a project: clang.

Otherwise we may crash because the special member has not been sufficiently set up yet. 
Fixes #54537


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D122846

Files:
  clang/lib/Sema/SemaDeclCXX.cpp
  clang/test/SemaCUDA/pr54537.cu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122846.419541.patch
Type: text/x-patch
Size: 4930 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220331/f31c2695/attachment.bin>


More information about the cfe-commits mailing list