From 50102c29f09bfe38ca862036d5a6e5f54a5beff8 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Wed, 9 Dec 2015 00:34:10 +0000 Subject: Return std::unique_ptr from SplitFunctionsOutOfModule. NFC. llvm-svn: 255084 --- llvm/tools/bugpoint/BugDriver.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'llvm/tools/bugpoint/BugDriver.h') diff --git a/llvm/tools/bugpoint/BugDriver.h b/llvm/tools/bugpoint/BugDriver.h index 45fcf74aa6b..20efff3fda5 100644 --- a/llvm/tools/bugpoint/BugDriver.h +++ b/llvm/tools/bugpoint/BugDriver.h @@ -331,11 +331,11 @@ void DeleteGlobalInitializer(GlobalVariable *GV); // void DeleteFunctionBody(Function *F); -/// SplitFunctionsOutOfModule - Given a module and a list of functions in the -/// module, split the functions OUT of the specified module, and place them in -/// the new module. -Module *SplitFunctionsOutOfModule(Module *M, const std::vector &F, - ValueToValueMapTy &VMap); +/// Given a module and a list of functions in the module, split the functions +/// OUT of the specified module, and place them in the new module. +std::unique_ptr +SplitFunctionsOutOfModule(Module *M, const std::vector &F, + ValueToValueMapTy &VMap); } // End llvm namespace -- cgit v1.2.3