[PM] Fix another place where I was using an overly generic T&& for the

IR unit to directly use IRUnitT& for now.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225750 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chandler Carruth 2015-01-13 01:44:56 +00:00
parent 6e4bbf0390
commit 2b390f4dcf

View File

@ -828,7 +828,7 @@ template <typename AnalysisT> struct InvalidateAnalysisPass {
/// analysis passes to be re-run to produce fresh results if any are needed.
struct InvalidateAllAnalysesPass {
/// \brief Run this pass over some unit of IR.
template <typename T> PreservedAnalyses run(T &&Arg) {
template <typename IRUnitT> PreservedAnalyses run(IRUnitT &Arg) {
return PreservedAnalyses::none();
}