diff options
author | Richard Smith <richard@metafoo.co.uk> | 2021-10-08 19:06:22 -0700 |
---|---|---|
committer | Richard Smith <richard@metafoo.co.uk> | 2021-10-08 19:59:42 -0700 |
commit | 7eae8c6e62b2a91e71aade19324b9d2242bcb4ab (patch) | |
tree | 634f8db5d66290354a8dd04e1284de2742dfdf81 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 85e565898ff36e5e50ff6e7ed6bf82b1cfbf89d6 (diff) | |
download | llvm-7eae8c6e62b2a91e71aade19324b9d2242bcb4ab.zip llvm-7eae8c6e62b2a91e71aade19324b9d2242bcb4ab.tar.gz llvm-7eae8c6e62b2a91e71aade19324b9d2242bcb4ab.tar.bz2 |
Don't update the vptr at the start of the destructor of a final class.
In this case, we know statically that we're destroying the most-derived
class, so the vptr must already point to the current class and never
needs to be updated.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions