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:
8cb2706
)
Analysis: cleanup
author
Dylan Noblesmith
<nobled@dreamwidth.org>
Tue, 26 Aug 2014 02:03:40 +0000
(
02:03
+0000)
committer
Dylan Noblesmith
<nobled@dreamwidth.org>
Tue, 26 Aug 2014 02:03:40 +0000
(
02:03
+0000)
Address review comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216432
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/DependenceAnalysis.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/DependenceAnalysis.cpp
b/lib/Analysis/DependenceAnalysis.cpp
index be4e487a149201a32f8a0db679a6aea41a9dd766..228fd69dce7d29986d67aa597b989f7d082f385f 100644
(file)
--- a/
lib/Analysis/DependenceAnalysis.cpp
+++ b/
lib/Analysis/DependenceAnalysis.cpp
@@
-3674,10
+3674,9
@@
DependenceAnalysis::depends(Instruction *Src, Instruction *Dst,
return nullptr;
}
- std::unique_ptr<Dependence> Final;
- Final.reset(new FullDependence(Result));
+ auto Final = make_unique<FullDependence>(Result);
Result.DV = nullptr;
- return
Final
;
+ return
std::move(Final)
;
}