-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)
commita5d7de9f082843a83677561338882be8824634d4
treec1b878d263b8e9f508539ee3ad5005d1e247b034
parent7c4218f49c7ffe9feb06751e3d530c53500662f3
-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.

llvm-svn: 244122
llvm/include/llvm/Analysis/CallGraph.h
llvm/lib/Analysis/IPA/CallGraph.cpp
llvm/lib/Transforms/IPO/Inliner.cpp