[all-commits] [llvm/llvm-project] 674099: [Clang][CodeGen] Fix this argument type for certai...

jacobly0 via All-commits all-commits at lists.llvm.org
Tue Feb 28 16:43:44 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 67409911353323ca5edf2049ef0df54132fa1ca7
      https://github.com/llvm/llvm-project/commit/67409911353323ca5edf2049ef0df54132fa1ca7
  Author: Jacob Young <jacobly0 at users.noreply.github.com>
  Date:   2023-02-28 (Tue, 28 Feb 2023)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/CodeGen/CGCXXABI.h
    M clang/lib/CodeGen/CGCall.cpp
    M clang/lib/CodeGen/CGExprCXX.cpp
    M clang/lib/CodeGen/MicrosoftCXXABI.cpp
    M clang/test/CodeGenCXX/constructor-destructor-return-this.cpp
    M clang/test/CodeGenCXX/cxx2a-destroying-delete.cpp
    M clang/test/CodeGenCXX/microsoft-abi-structors.cpp
    M clang/test/CodeGenCXX/microsoft-abi-virtual-inheritance.cpp

  Log Message:
  -----------
  [Clang][CodeGen] Fix this argument type for certain destructors

With the Microsoft ABI, some destructors need to offset a parameter to
get the derived this pointer, in which case the type of that parameter
should not be a pointer to the derived type.

Fixes #60465




More information about the All-commits mailing list