1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

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

IR unit to directly use IRUnitT& for now.

llvm-svn: 225750
This commit is contained in:
Chandler Carruth 2015-01-13 01:44:56 +00:00
parent 94ae330e52
commit 379fb098e2

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();
}