mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-12 07:37:34 +00:00
IR: Unbreak the MSVC build after r225689
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225727 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2f95648566
commit
80840b5c45
@ -826,7 +826,9 @@ class MDNodeFwdDecl : public MDNode, ReplaceableMetadataImpl {
|
||||
|
||||
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user