summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2016-02-07 20:09:18 +0000
committerNico Weber <nicolasweber@gmx.de>2016-02-07 20:09:18 +0000
commite40dca728520f4610549dd59e41276cea3d89dd4 (patch)
treebfcb24bcea6409250294ed1472c5bee00351e50b /llvm/lib/IR
parent879e14330eae9b34f460673e5a06c0ab1671d19a (diff)
downloadbcm5719-llvm-e40dca728520f4610549dd59e41276cea3d89dd4.tar.gz
bcm5719-llvm-e40dca728520f4610549dd59e41276cea3d89dd4.zip
Revert 259942, r259943, r259948.
The Windows bots have been failing for the last two days, with: FAILED: C:\PROGRA~2\MICROS~1.0\VC\bin\amd64\cl.exe -c LLVMContextImpl.cpp D:\buildslave\clang-x64-ninja-win7\llvm\lib\IR\LLVMContextImpl.cpp(137) : error C2248: 'llvm::TrailingObjects<llvm::AttributeSetImpl, llvm::IndexAttrPair>::operator delete' : cannot access private member declared in class 'llvm::AttributeSetImpl' TrailingObjects.h(298) : see declaration of 'llvm::TrailingObjects<llvm::AttributeSetImpl, llvm::IndexAttrPair>::operator delete' AttributeImpl.h(213) : see declaration of 'llvm::AttributeSetImpl' llvm-svn: 260053
Diffstat (limited to 'llvm/lib/IR')
-rw-r--r--llvm/lib/IR/AttributeImpl.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/IR/AttributeImpl.h b/llvm/lib/IR/AttributeImpl.h
index 1b13134d37d..ca7ae5cbb29 100644
--- a/llvm/lib/IR/AttributeImpl.h
+++ b/llvm/lib/IR/AttributeImpl.h
@@ -171,8 +171,6 @@ class AttributeSetNode final
void operator=(const AttributeSetNode &) = delete;
AttributeSetNode(const AttributeSetNode &) = delete;
public:
- using TrailingObjects<AttributeSetNode, Attribute>::operator delete;
-
static AttributeSetNode *get(LLVMContext &C, ArrayRef<Attribute> Attrs);
bool hasAttribute(Attribute::AttrKind Kind) const {
@@ -268,8 +266,6 @@ public:
}
}
- using TrailingObjects<AttributeSetImpl, IndexAttrPair>::operator delete;
-
/// \brief Get the context that created this AttributeSetImpl.
LLVMContext &getContext() { return Context; }
OpenPOWER on IntegriCloud