From a667d1adb7de2b6875a395416afa3d19e407583b Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Mon, 13 Jul 2015 17:21:31 +0000 Subject: Remove macro guards for extern template instantiations. This is a C++11 feature that both GCC and MSVC have supported as ane extension long before C++11 was approved. llvm-svn: 242042 --- llvm/lib/CodeGen/MachineDominators.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/CodeGen/MachineDominators.cpp') diff --git a/llvm/lib/CodeGen/MachineDominators.cpp b/llvm/lib/CodeGen/MachineDominators.cpp index 467a2e4..3f04bb0 100644 --- a/llvm/lib/CodeGen/MachineDominators.cpp +++ b/llvm/lib/CodeGen/MachineDominators.cpp @@ -19,8 +19,8 @@ using namespace llvm; namespace llvm { -TEMPLATE_INSTANTIATION(class DomTreeNodeBase); -TEMPLATE_INSTANTIATION(class DominatorTreeBase); +template class DomTreeNodeBase; +template class DominatorTreeBase; } char MachineDominatorTree::ID = 0; -- cgit v1.1