[all-commits] [llvm/llvm-project] f2b249: [Sema] Mark the referenced destructor during trans...

Argyrios Kyrtzidis via All-commits all-commits at lists.llvm.org
Tue Mar 8 01:00:38 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f2b24905bfede6bd047a38f5cbae352e6b845428
      https://github.com/llvm/llvm-project/commit/f2b24905bfede6bd047a38f5cbae352e6b845428
  Author: Argyrios Kyrtzidis <kyrtzidis at apple.com>
  Date:   2022-03-08 (Tue, 08 Mar 2022)

  Changed paths:
    M clang/lib/Sema/TreeTransform.h
    A clang/test/SemaTemplate/defaulted-destructor-in-temporary.cpp

  Log Message:
  -----------
  [Sema] Mark the referenced destructor during transformation of a `CXXBindTemporaryExpr`

Otherwise we will fail to generate the definition of a defaulted destructor,
if the only reference was in a templated temporary.

rdar://89366678

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




More information about the All-commits mailing list