Remove TrailingObjects::operator delete. It's still suffering from
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 9 Feb 2016 02:09:16 +0000 (02:09 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 9 Feb 2016 02:09:16 +0000 (02:09 +0000)
commita64e1adf849c07232c2bd27b90a59f29659211e7
tree822f827d31f960b003c411bb7d0d9ea768069c9e
parent840144887a9c7c9d5bef666524efe8904d880cde
Remove TrailingObjects::operator delete. It's still suffering from
compiler-specific issues. Instead, repeat an 'operator delete' definition in
each derived class that is actually deleted, and give up on the static type
safety of an error when sized delete is accidentally used on a type derived
from TrailingObjects.

llvm-svn: 260190
llvm/include/llvm/Support/TrailingObjects.h
llvm/lib/IR/AttributeImpl.h
llvm/unittests/Support/TrailingObjectsTest.cpp