diff options
author | John McCall <rjmccall@apple.com> | 2009-12-16 00:13:24 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2009-12-16 00:13:24 +0000 |
commit | 323c30c5f465208778d7792a01af70a4f4be8b78 (patch) | |
tree | d7e5eeda7f118c9a75c1062e6bfd8affeb120059 /llvm/lib/CodeGen/MachineDominators.cpp | |
parent | 2d5967d005e3b3674f2f0951d65fb6c3a04c6d71 (diff) | |
download | bcm5719-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.cpp | 2 |
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; |