summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/DependenceAnalysis.cpp
diff options
context:
space:
mode:
authorDylan Noblesmith <nobled@dreamwidth.org>2014-08-26 02:03:40 +0000
committerDylan Noblesmith <nobled@dreamwidth.org>2014-08-26 02:03:40 +0000
commit43f49cad78685c075dd7a6d074cea58ff847516c (patch)
tree292a62a9aec095bb3002d2811585a1bbe8ae7579 /llvm/lib/Analysis/DependenceAnalysis.cpp
parent4ffafefdaa877dcee07655552ce3bfaec87d8d12 (diff)
downloadbcm5719-llvm-43f49cad78685c075dd7a6d074cea58ff847516c.tar.gz
bcm5719-llvm-43f49cad78685c075dd7a6d074cea58ff847516c.zip
Analysis: cleanup
Address review comments. llvm-svn: 216432
Diffstat (limited to 'llvm/lib/Analysis/DependenceAnalysis.cpp')
-rw-r--r--llvm/lib/Analysis/DependenceAnalysis.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/Analysis/DependenceAnalysis.cpp b/llvm/lib/Analysis/DependenceAnalysis.cpp
index be4e487a149..228fd69dce7 100644
--- a/llvm/lib/Analysis/DependenceAnalysis.cpp
+++ b/llvm/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);
}
OpenPOWER on IntegriCloud