summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2f95648)
raw | patch | inline | side by side (parent: 2f95648)
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | |
Mon, 12 Jan 2015 23:09:14 +0000 (23:09 +0000) | ||
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | |
Mon, 12 Jan 2015 23:09:14 +0000 (23:09 +0000) |
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225727 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Metadata.h | patch | blob | history |
index 1e97150d449d457c0915a6a52bdcb4605b7504fd..da6521bbf3e15c9a9326bd64f805e3df5ccc71ac 100644 (file)
public:
~MDNodeFwdDecl() { dropAllReferences(); }
- using MDNode::operator delete;
+
+ // MSVC doesn't seem to see the alternaive: "using MDNode::operator delete".
+ void operator delete(void *Mem) { MDNode::operator delete(Mem); }
static MDNodeFwdDecl *get(LLVMContext &Context, ArrayRef<Metadata *> MDs) {
return new (MDs.size()) MDNodeFwdDecl(Context, MDs);