diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2015-12-09 00:34:10 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2015-12-09 00:34:10 +0000 |
commit | 50102c29f09bfe38ca862036d5a6e5f54a5beff8 (patch) | |
tree | f0a450a3d3940504fc00f0d6331fbbce8cfd0848 /llvm/tools/bugpoint/BugDriver.h | |
parent | 278a6c952b3276e7db61f578ab66f067064cad36 (diff) | |
download | bcm5719-llvm-50102c29f09bfe38ca862036d5a6e5f54a5beff8.tar.gz bcm5719-llvm-50102c29f09bfe38ca862036d5a6e5f54a5beff8.zip |
Return std::unique_ptr from SplitFunctionsOutOfModule. NFC.
llvm-svn: 255084
Diffstat (limited to 'llvm/tools/bugpoint/BugDriver.h')
-rw-r--r-- | llvm/tools/bugpoint/BugDriver.h | 10 |
1 files changed, 5 insertions, 5 deletions
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<Function*> &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<Module> +SplitFunctionsOutOfModule(Module *M, const std::vector<Function *> &F, + ValueToValueMapTy &VMap); } // End llvm namespace |