forked from OSchip/llvm-project
[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:
parent
1e05ea6173
commit
759d960ce4
|
@ -828,7 +828,7 @@ template <typename AnalysisT> struct InvalidateAnalysisPass {
|
||||||
/// analysis passes to be re-run to produce fresh results if any are needed.
|
/// analysis passes to be re-run to produce fresh results if any are needed.
|
||||||
struct InvalidateAllAnalysesPass {
|
struct InvalidateAllAnalysesPass {
|
||||||
/// \brief Run this pass over some unit of IR.
|
/// \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();
|
return PreservedAnalyses::none();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue