commit | 21c303e9eadfbd2d685665176159f5f4738169b1 | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Thu Feb 04 01:21:16 2016 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Thu Feb 04 01:21:16 2016 +0000 |
tree | 02e56df19ab1bbc33d5d0d1747f2cc73de27cc31 | |
parent | 65ece990a3a0db79ed190a0e03c6b9b7f312ff58 [diff] |
Fix undefined behavior when compiling in C++14 mode (with sized deletion enabled): ensure that we do not invoke the sized deallocator for MemoryBuffer subclasses that have tail-allocated data. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@259735 91177308-0d34-0410-b5e6-96231b3b80d8