[llvm] r266151 - Fix mismatch on returned type between header and implementation for createNameAnonFunctionPass()
Mehdi Amini via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 12 16:25:11 PDT 2016
Author: mehdi_amini
Date: Tue Apr 12 18:25:11 2016
New Revision: 266151
URL: http://llvm.org/viewvc/llvm-project?rev=266151&view=rev
Log:
Fix mismatch on returned type between header and implementation for createNameAnonFunctionPass()
From: Mehdi Amini <mehdi.amini at apple.com>
Modified:
llvm/trunk/lib/Transforms/Utils/NameAnonFunctions.cpp
Modified: llvm/trunk/lib/Transforms/Utils/NameAnonFunctions.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/NameAnonFunctions.cpp?rev=266151&r1=266150&r2=266151&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Utils/NameAnonFunctions.cpp (original)
+++ llvm/trunk/lib/Transforms/Utils/NameAnonFunctions.cpp Tue Apr 12 18:25:11 2016
@@ -98,5 +98,5 @@ INITIALIZE_PASS_END(NameAnonFunction, "n
"Provide a name to nameless functions", false, false)
namespace llvm {
-Pass *createNameAnonFunctionPass() { return new NameAnonFunction(); }
+ModulePass *createNameAnonFunctionPass() { return new NameAnonFunction(); }
}
More information about the llvm-commits
mailing list