summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Support/TrailingObjectsTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/unittests/Support/TrailingObjectsTest.cpp')
-rw-r--r--llvm/unittests/Support/TrailingObjectsTest.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/unittests/Support/TrailingObjectsTest.cpp b/llvm/unittests/Support/TrailingObjectsTest.cpp
index 92cdd6d3824..170cbc372b8 100644
--- a/llvm/unittests/Support/TrailingObjectsTest.cpp
+++ b/llvm/unittests/Support/TrailingObjectsTest.cpp
@@ -34,7 +34,6 @@ public:
void *Mem = ::operator new(totalSizeToAlloc<short>(NumShorts));
return new (Mem) Class1(ShortArray, NumShorts);
}
- using TrailingObjects::operator delete;
short get(unsigned Num) const { return getTrailingObjects<short>()[Num]; }
@@ -79,7 +78,6 @@ public:
*C->getTrailingObjects<double>() = D;
return C;
}
- using TrailingObjects::operator delete;
short getShort() const {
if (!HasShort)
OpenPOWER on IntegriCloud