llvm/tools/bugpoint
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
..
BugDriver.cpp bugpoint: Return Errors instead of passing around strings 2016-09-06 17:18:22 +00:00
BugDriver.h bugpoint: Return Errors instead of passing around strings 2016-09-06 17:18:22 +00:00
bugpoint.cpp Do not inline hot callsites for samplepgo in thinlto compile phase. 2017-03-21 19:55:36 +00:00
CMakeLists.txt [CMake] bugpoint depends on intrinsics_gen 2016-11-18 23:25:30 +00:00
CrashDebugger.cpp Fix bugpoint to work with swifterror values 2017-03-07 20:28:59 +00:00
ExecutionDriver.cpp Turn cl::values() (for enum) from a vararg function to using C++ variadic template 2016-10-08 19:41:06 +00:00
ExtractFunction.cpp [bugpoint] Also remove comdat's from externalized GVs 2017-04-11 00:18:42 +00:00
FindBugs.cpp Remove uses of deprecated std::random_shuffle in the LLVM code base. Reviewed as https://reviews.llvm.org/D29780. 2017-02-16 14:37:03 +00:00
ListReducer.h Remove uses of deprecated std::random_shuffle in the LLVM code base. Reviewed as https://reviews.llvm.org/D29780. 2017-02-16 14:37:03 +00:00
LLVMBuild.txt Wrap some long lines in LLVMBuild files. NFC 2015-06-12 18:44:57 +00:00
Miscompilation.cpp Module::getOrInsertFunction is using C-style vararg instead of variadic templates. 2017-04-11 15:01:18 +00:00
OptimizerDriver.cpp Split Bitcode/ReaderWriter.h into separate reader and writer headers 2016-11-11 05:34:58 +00:00
ToolRunner.cpp Allow use of spaces in Bugpoint ‘--compile-command’ argument 2017-03-02 16:50:48 +00:00
ToolRunner.h bugpoint: Return Errors instead of passing around strings 2016-09-06 17:18:22 +00:00