forked from OSchip/llvm-project
Qualify a bunch of explicit template instantiations to satisfy clang++.
llvm-svn: 91736
This commit is contained in:
parent
791e5c9dd5
commit
086bb4ef82
|
@ -35,7 +35,7 @@ LLVMContext &BasicBlock::getContext() const {
|
|||
|
||||
// Explicit instantiation of SymbolTableListTraits since some of the methods
|
||||
// are not in the public header file...
|
||||
template class SymbolTableListTraits<Instruction, BasicBlock>;
|
||||
template class llvm::SymbolTableListTraits<Instruction, BasicBlock>;
|
||||
|
||||
|
||||
BasicBlock::BasicBlock(LLVMContext &C, const Twine &Name, Function *NewParent,
|
||||
|
|
|
@ -47,8 +47,8 @@ VerifyDomInfoX("verify-dom-info", cl::location(VerifyDomInfo),
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
TEMPLATE_INSTANTIATION(class DomTreeNodeBase<BasicBlock>);
|
||||
TEMPLATE_INSTANTIATION(class DominatorTreeBase<BasicBlock>);
|
||||
TEMPLATE_INSTANTIATION(class llvm::DomTreeNodeBase<BasicBlock>);
|
||||
TEMPLATE_INSTANTIATION(class llvm::DominatorTreeBase<BasicBlock>);
|
||||
|
||||
char DominatorTree::ID = 0;
|
||||
static RegisterPass<DominatorTree>
|
||||
|
|
|
@ -29,8 +29,8 @@ using namespace llvm;
|
|||
|
||||
// Explicit instantiations of SymbolTableListTraits since some of the methods
|
||||
// are not in the public header file...
|
||||
template class SymbolTableListTraits<Argument, Function>;
|
||||
template class SymbolTableListTraits<BasicBlock, Function>;
|
||||
template class llvm::SymbolTableListTraits<Argument, Function>;
|
||||
template class llvm::SymbolTableListTraits<BasicBlock, Function>;
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// Argument Implementation
|
||||
|
|
|
@ -47,9 +47,9 @@ GlobalAlias *ilist_traits<GlobalAlias>::createSentinel() {
|
|||
|
||||
// Explicit instantiations of SymbolTableListTraits since some of the methods
|
||||
// are not in the public header file.
|
||||
template class SymbolTableListTraits<GlobalVariable, Module>;
|
||||
template class SymbolTableListTraits<Function, Module>;
|
||||
template class SymbolTableListTraits<GlobalAlias, Module>;
|
||||
template class llvm::SymbolTableListTraits<GlobalVariable, Module>;
|
||||
template class llvm::SymbolTableListTraits<Function, Module>;
|
||||
template class llvm::SymbolTableListTraits<GlobalAlias, Module>;
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// Primitive Module methods.
|
||||
|
|
Loading…
Reference in New Issue