Commit fd37b4b3 authored by Jacob Young's avatar Jacob Young Committed by Tom Stellard
Browse files

[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.

Reviewed By: efriedma

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

(cherry picked from commit 67409911)
parent 791a2ecc
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment