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:
parent
2ed363a464
commit
816d7841f8
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user