1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

[PM] Remove now-dead extern template and explicit instantiation

declarations.

We're using a custom class here instead of the helper template, these
bits just didn't get deleted when the other bits did get deleted. This
was found by a really nice MSVC warning about explicitly instantiating
a template where some member functions aren't defined and thus can't be
instantiatied.

llvm-svn: 290327
This commit is contained in:
Chandler Carruth 2016-12-22 07:14:33 +00:00
parent 2ed363a464
commit 816d7841f8
2 changed files with 0 additions and 7 deletions

View File

@ -489,11 +489,6 @@ private:
static AnalysisKey Key;
};
// Ensure the \c FunctionAnalysisManagerCGSCCProxy is provided as an extern
// template.
extern template class InnerAnalysisManagerProxy<
FunctionAnalysisManager, LazyCallGraph::SCC, LazyCallGraph &>;
extern template class OuterAnalysisManagerProxy<CGSCCAnalysisManager, Function>;
/// A proxy from a \c CGSCCAnalysisManager to a \c Function.
typedef OuterAnalysisManagerProxy<CGSCCAnalysisManager, Function>

View File

@ -25,8 +25,6 @@ template class PassManager<LazyCallGraph::SCC, CGSCCAnalysisManager,
template class InnerAnalysisManagerProxy<CGSCCAnalysisManager, Module>;
template class OuterAnalysisManagerProxy<ModuleAnalysisManager,
LazyCallGraph::SCC, LazyCallGraph &>;
template class InnerAnalysisManagerProxy<FunctionAnalysisManager,
LazyCallGraph::SCC, LazyCallGraph &>;
template class OuterAnalysisManagerProxy<CGSCCAnalysisManager, Function>;
/// Explicitly specialize the pass manager run method to handle call graph