[all-commits] [llvm/llvm-project] fe528e: [CUDA] Don't call inferCUDATargetForImplicitSpecia...

Artem Belevich via All-commits all-commits at lists.llvm.org
Thu Mar 31 13:52:17 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fe528e72163371e10242f4748dab687eef30a1f9
      https://github.com/llvm/llvm-project/commit/fe528e72163371e10242f4748dab687eef30a1f9
  Author: Artem Belevich <tra at google.com>
  Date:   2022-03-31 (Thu, 31 Mar 2022)

  Changed paths:
    M clang/lib/Sema/SemaDeclCXX.cpp
    A clang/test/SemaCUDA/pr54537.cu

  Log Message:
  -----------
  [CUDA] Don't call inferCUDATargetForImplicitSpecialMember too early.

Otherwise we may crash because the special member has not been sufficiently set
up yet. Fixes https://github.com/llvm/llvm-project/issues/54537

Differential Revision: https://reviews.llvm.org/D122846




More information about the All-commits mailing list