[llvm] r254934 - Fix function return type in declaration (bot errors from r254926).

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 7 11:53:39 PST 2015


Author: tejohnson
Date: Mon Dec  7 13:53:38 2015
New Revision: 254934

URL: http://llvm.org/viewvc/llvm-project?rev=254934&view=rev
Log:
Fix function return type in declaration (bot errors from r254926).

Try to fix bot build errors from r254926 by correcting the function
return type.

Modified:
    llvm/trunk/include/llvm/Transforms/IPO.h

Modified: llvm/trunk/include/llvm/Transforms/IPO.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Transforms/IPO.h?rev=254934&r1=254933&r2=254934&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Transforms/IPO.h (original)
+++ llvm/trunk/include/llvm/Transforms/IPO.h Mon Dec  7 13:53:38 2015
@@ -88,7 +88,7 @@ ModulePass *createGVExtractionPass(std::
 
 //===----------------------------------------------------------------------===//
 /// 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




More information about the llvm-commits mailing list