Fix the MSVC build.
authorFrancois Pichet <pichet2000@gmail.com>
Thu, 19 May 2011 02:54:11 +0000 (02:54 +0000)
committerFrancois Pichet <pichet2000@gmail.com>
Thu, 19 May 2011 02:54:11 +0000 (02:54 +0000)
commit2536f801dc8161bf7cbd123abe9e191d0ce40cd1
tree6651848a71e3e59cdccccf8f9d77d0bc76eca0dd
parent0855bc5b973320052c87bdcc2fa17b9711edc3de
Fix the MSVC build.
Use a set of overloaded functions instead of template function for CreatePassFn.

It seems that template deduction for functions type that differs only by return type doesn't work with MSVC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131624 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/StandardPasses.h