From e40dca728520f4610549dd59e41276cea3d89dd4 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Sun, 7 Feb 2016 20:09:18 +0000 Subject: 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::operator delete' : cannot access private member declared in class 'llvm::AttributeSetImpl' TrailingObjects.h(298) : see declaration of 'llvm::TrailingObjects::operator delete' AttributeImpl.h(213) : see declaration of 'llvm::AttributeSetImpl' llvm-svn: 260053 --- llvm/unittests/Support/TrailingObjectsTest.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'llvm/unittests/Support/TrailingObjectsTest.cpp') diff --git a/llvm/unittests/Support/TrailingObjectsTest.cpp b/llvm/unittests/Support/TrailingObjectsTest.cpp index 92cdd6d..170cbc3 100644 --- a/llvm/unittests/Support/TrailingObjectsTest.cpp +++ b/llvm/unittests/Support/TrailingObjectsTest.cpp @@ -34,7 +34,6 @@ public: void *Mem = ::operator new(totalSizeToAlloc(NumShorts)); return new (Mem) Class1(ShortArray, NumShorts); } - using TrailingObjects::operator delete; short get(unsigned Num) const { return getTrailingObjects()[Num]; } @@ -79,7 +78,6 @@ public: *C->getTrailingObjects() = D; return C; } - using TrailingObjects::operator delete; short getShort() const { if (!HasShort) -- cgit v1.1