commit | ec124b3a6f9f60313f604cdf3e199f6540311d46 | [log] [tgz] |
---|---|---|
author | Serge Guelton <sguelton@quarkslab.com> | Tue Apr 11 08:36:52 2017 +0000 |
committer | Serge Guelton <sguelton@quarkslab.com> | Tue Apr 11 08:36:52 2017 +0000 |
tree | a830dac94e6dde071dda081f9d68d97548697fb4 | |
parent | 262869e2bf83bc104a77edf733241fb4f385573a [diff] |
Turn some C-style vararg into variadic templates Module::getOrInsertFunction is using C-style vararg instead of variadic templates. From a user prospective, it forces the use of an annoying nullptr to mark the end of the vararg, and there's not type checking on the arguments. The variadic template is an obvious solution to both issues. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299925 91177308-0d34-0410-b5e6-96231b3b80d8