summaryrefslogtreecommitdiff
path: root/lib/CodeGen/MachineDominators.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2009-12-16 00:13:24 +0000
committerJohn McCall <rjmccall@apple.com>2009-12-16 00:13:24 +0000
commitf32616e0bd5995e5e8053d4fc2b0a1da22fa68f6 (patch)
tree6175c88acd6f47a5f021e3833886f1196ac7b929 /lib/CodeGen/MachineDominators.cpp
parentc70d3311513802e01d634d69e550f96a7a96d04a (diff)
downloadllvm-f32616e0bd5995e5e8053d4fc2b0a1da22fa68f6.tar.gz
llvm-f32616e0bd5995e5e8053d4fc2b0a1da22fa68f6.tar.bz2
llvm-f32616e0bd5995e5e8053d4fc2b0a1da22fa68f6.tar.xz
Explicit template instantiations must happen in the template's immediately
enclosing namespace. Caught by clang++. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91480 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineDominators.cpp')
-rw-r--r--lib/CodeGen/MachineDominators.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/MachineDominators.cpp b/lib/CodeGen/MachineDominators.cpp
index 0f796f3952..408873903b 100644
--- a/lib/CodeGen/MachineDominators.cpp
+++ b/lib/CodeGen/MachineDominators.cpp
@@ -17,8 +17,10 @@
using namespace llvm;
+namespace llvm {
TEMPLATE_INSTANTIATION(class DomTreeNodeBase<MachineBasicBlock>);
TEMPLATE_INSTANTIATION(class DominatorTreeBase<MachineBasicBlock>);
+}
char MachineDominatorTree::ID = 0;