-Wdeprecated cleanup: Make CallGraph movable by default by using unique_ptr members...
authorDavid Blaikie <dblaikie@gmail.com>
Wed, 5 Aug 2015 20:55:50 +0000 (20:55 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Wed, 5 Aug 2015 20:55:50 +0000 (20:55 +0000)
commit75e2b5ab1a4e7bd05ec2f6b5a9de2e65669c7997
treec8f97d9092a6a7804f57b67f34961e5983d0a448
parent3e8a65d34602cec80e90e5197814771eb9f7dd71
-Wdeprecated cleanup: Make CallGraph movable by default by using unique_ptr members rather than raw pointers.

The only place that tries to return a CallGraph by value
(CallGraphAnalysis::run) doesn't seem to be used right now, but it's a
reasonable bit of cleanup anyway.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244122 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/CallGraph.h
lib/Analysis/IPA/CallGraph.cpp
lib/Transforms/IPO/Inliner.cpp