[llvm] ff6be0c - Revert "[Support] Explicitly instantiate BumpPtrAllocatorImpl"
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 18 09:33:23 PST 2020
Author: Reid Kleckner
Date: 2020-01-18T09:33:00-08:00
New Revision: ff6be0ca25ce7c6cae171e85bc4b62af56ff70f7
URL: https://github.com/llvm/llvm-project/commit/ff6be0ca25ce7c6cae171e85bc4b62af56ff70f7
DIFF: https://github.com/llvm/llvm-project/commit/ff6be0ca25ce7c6cae171e85bc4b62af56ff70f7.diff
LOG: Revert "[Support] Explicitly instantiate BumpPtrAllocatorImpl"
This reverts commit add95990508ee0aec90d07bcce1bba47b4f46622.
Buildbots don't seem to like it.
Added:
Modified:
llvm/include/llvm/Support/Allocator.h
llvm/lib/Support/Allocator.cpp
Removed:
################################################################################
diff --git a/llvm/include/llvm/Support/Allocator.h b/llvm/include/llvm/Support/Allocator.h
index 1d02f1bddb2f..670335ffecbc 100644
--- a/llvm/include/llvm/Support/Allocator.h
+++ b/llvm/include/llvm/Support/Allocator.h
@@ -434,8 +434,6 @@ class BumpPtrAllocatorImpl
template <typename T> friend class SpecificBumpPtrAllocator;
};
-extern template class BumpPtrAllocatorImpl<>;
-
/// The standard BumpPtrAllocator which just uses the default template
/// parameters.
typedef BumpPtrAllocatorImpl<> BumpPtrAllocator;
diff --git a/llvm/lib/Support/Allocator.cpp b/llvm/lib/Support/Allocator.cpp
index f6ba59fc787f..718d3fc0d8e1 100644
--- a/llvm/lib/Support/Allocator.cpp
+++ b/llvm/lib/Support/Allocator.cpp
@@ -15,8 +15,6 @@
namespace llvm {
-template class BumpPtrAllocatorImpl<>;
-
namespace detail {
void printBumpPtrAllocatorStats(unsigned NumSlabs, size_t BytesAllocated,
More information about the llvm-commits
mailing list