llvm.org GIT mirror llvm / 80840b5
IR: Unbreak the MSVC build after r225689 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225727 91177308-0d34-0410-b5e6-96231b3b80d8 Duncan P. N. Exon Smith 5 years ago
1 changed file(s) with 3 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
825825
826826 public:
827827 ~MDNodeFwdDecl() { dropAllReferences(); }
828 using MDNode::operator delete;
828
829 // MSVC doesn't seem to see the alternaive: "using MDNode::operator delete".
830 void operator delete(void *Mem) { MDNode::operator delete(Mem); }
829831
830832 static MDNodeFwdDecl *get(LLVMContext &Context, ArrayRef MDs) {
831833 return new (MDs.size()) MDNodeFwdDecl(Context, MDs);