projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e4bbf0
)
[PM] Fix another place where I was using an overly generic T&& for the
author
Chandler Carruth
<chandlerc@gmail.com>
Tue, 13 Jan 2015 01:44:56 +0000
(
01:44
+0000)
committer
Chandler Carruth
<chandlerc@gmail.com>
Tue, 13 Jan 2015 01:44:56 +0000
(
01:44
+0000)
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
include/llvm/IR/PassManager.h
patch
|
blob
|
history
diff --git
a/include/llvm/IR/PassManager.h
b/include/llvm/IR/PassManager.h
index 156b93cb98fd07c64e3ba94a25f720b45d33c7b7..d6a1c98d22ecc0c47253977f3487e055d836dbfb 100644
(file)
--- a/
include/llvm/IR/PassManager.h
+++ b/
include/llvm/IR/PassManager.h
@@
-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();
}