From a16511be95e9579b1a60497ae5fe70ac41b552b1 Mon Sep 17 00:00:00 2001 From: Teresa Johnson Date: Mon, 7 Dec 2015 19:53:38 +0000 Subject: [PATCH] Fix function return type in declaration (bot errors from r254926). Try to fix bot build errors from r254926 by correcting the function return type. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254934 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Transforms/IPO.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/Transforms/IPO.h b/include/llvm/Transforms/IPO.h index eabf0556bab..04032d3b328 100644 --- a/include/llvm/Transforms/IPO.h +++ b/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 -- 2.34.1