From: Teresa Johnson Date: Mon, 7 Dec 2015 19:53:38 +0000 (+0000) Subject: Fix function return type in declaration (bot errors from r254926). X-Git-Tag: llvmorg-3.8.0-rc1~2561 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9ed1baed6fa40c2c25d2748e81359c54a0e00dcf;p=platform%2Fupstream%2Fllvm.git Fix function return type in declaration (bot errors from r254926). Try to fix bot build errors from r254926 by correcting the function return type. llvm-svn: 254934 --- diff --git a/llvm/include/llvm/Transforms/IPO.h b/llvm/include/llvm/Transforms/IPO.h index eabf055..04032d3 100644 --- a/llvm/include/llvm/Transforms/IPO.h +++ b/llvm/include/llvm/Transforms/IPO.h @@ -88,7 +88,7 @@ ModulePass *createGVExtractionPass(std::vector& GVs, bool //===----------------------------------------------------------------------===// /// This pass performs iterative function importing from other modules. -ModulePass *createFunctionImportPass(FunctionInfoIndex *Index = nullptr); +Pass *createFunctionImportPass(FunctionInfoIndex *Index = nullptr); //===----------------------------------------------------------------------===// /// createFunctionInliningPass - Return a new pass object that uses a heuristic