llvm/tools/lli
Serge Guelton 9d54400bba 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.

Differential Revision: https://reviews.llvm.org/D31070



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299949 91177308-0d34-0410-b5e6-96231b3b80d8
2017-04-11 15:01:18 +00:00
..
ChildTarget [CMake] lli-child-target depends on intrinsics gen 2016-11-19 02:09:51 +00:00
CMakeLists.txt Prune unused libdeps. 2016-12-08 15:28:02 +00:00
lli.cpp Module::getOrInsertFunction is using C-style vararg instead of variadic templates. 2017-04-11 15:01:18 +00:00
LLVMBuild.txt Wrap some long lines in LLVMBuild files. NFC 2015-06-12 18:44:57 +00:00
OrcLazyJIT.cpp [lli] Don't strip away const qualifier. Unbreak the gcc6 build. 2016-10-31 16:21:48 +00:00
OrcLazyJIT.h [Orc] Rename ObjectLinkingLayer -> RTDyldObjectLinkingLayer. 2017-02-20 05:45:14 +00:00
RemoteJITUtils.h [ORC] Re-apply 286620 with fixes for the ErrorSuccess class. 2016-11-11 21:42:09 +00:00