[llvm] r259948 - Attempt#2 to work around MSVC rejects-valid.
Richard Smith via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 5 15:05:10 PST 2016
Author: rsmith
Date: Fri Feb 5 17:05:09 2016
New Revision: 259948
URL: http://llvm.org/viewvc/llvm-project?rev=259948&view=rev
Log:
Attempt#2 to work around MSVC rejects-valid.
Modified:
llvm/trunk/lib/IR/AttributeImpl.h
Modified: llvm/trunk/lib/IR/AttributeImpl.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/AttributeImpl.h?rev=259948&r1=259947&r2=259948&view=diff
==============================================================================
--- llvm/trunk/lib/IR/AttributeImpl.h (original)
+++ llvm/trunk/lib/IR/AttributeImpl.h Fri Feb 5 17:05:09 2016
@@ -171,7 +171,7 @@ class AttributeSetNode final
void operator=(const AttributeSetNode &) = delete;
AttributeSetNode(const AttributeSetNode &) = delete;
public:
- using TrailingObjects::operator delete;
+ using TrailingObjects<AttributeSetNode, Attribute>::operator delete;
static AttributeSetNode *get(LLVMContext &C, ArrayRef<Attribute> Attrs);
@@ -268,7 +268,7 @@ public:
}
}
- using TrailingObjects::operator delete;
+ using TrailingObjects<AttributeSetImpl, IndexAttrPair>::operator delete;
/// \brief Get the context that created this AttributeSetImpl.
LLVMContext &getContext() { return Context; }
More information about the llvm-commits
mailing list