summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit323c30c5f465208778d7792a01af70a4f4be8b78 (patch)
treed7e5eeda7f118c9a75c1062e6bfd8affeb120059 /llvm/lib/CodeGen/MachineDominators.cpp
parent2d5967d005e3b3674f2f0951d65fb6c3a04c6d71 (diff)
downloadbcm5719-llvm-323c30c5f465208778d7792a01af70a4f4be8b78.tar.gz
bcm5719-llvm-323c30c5f465208778d7792a01af70a4f4be8b78.zip
Explicit template instantiations must happen in the template's immediately
enclosing namespace. Caught by clang++. llvm-svn: 91480
Diffstat (limited to 'llvm/lib/CodeGen/MachineDominators.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineDominators.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MachineDominators.cpp b/llvm/lib/CodeGen/MachineDominators.cpp
index 0f796f3952c..408873903b0 100644
--- a/llvm/lib/CodeGen/MachineDominators.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud