1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-28 06:22:51 +01:00
llvm-mirror/lib/Transforms
Reid Kleckner 2fa78fff68 Use nullptr instead of NULL for variadic sentinels
Windows defines NULL to 0, which when used as an argument to a variadic
function, is not a null pointer constant. As a result, Clang's
-Wsentinel fires on this code. Using '0' would be wrong on most 64-bit
platforms, but both MSVC and Clang make it work on Windows. Sidestep the
issue with nullptr.

llvm-svn: 221940
2014-11-13 22:55:19 +00:00
..
Hello [CMake] Add LLVM_LINK_COMPONENTS to loadable modules, LLVMHello and BugpointPasses, on Win32. 2014-07-13 13:36:48 +00:00
InstCombine [PowerPC] Add vec_vsx_ld and vec_vsx_st intrinsics 2014-11-12 04:19:40 +00:00
Instrumentation Use nullptr instead of NULL for variadic sentinels 2014-11-13 22:55:19 +00:00
IPO Reformat partially, where I touched for whitespace changes. 2014-10-28 11:54:52 +00:00
ObjCARC Revert "IR: MDNode => Value" 2014-11-11 21:30:22 +00:00
Scalar Revert "[GVN] Perform Scalar PRE on gep indices that feed loads before doing Load PRE." 2014-11-13 22:54:59 +00:00
Utils Use nullptr instead of NULL for variadic sentinels 2014-11-13 22:55:19 +00:00
Vectorize Revert "IR: MDNode => Value" 2014-11-11 21:30:22 +00:00
CMakeLists.txt Extracted ObjCARC.cpp into its own library libLLVMObjCARCOpts in preparation for refactoring the ARC Optimizer. 2013-01-28 01:35:51 +00:00
LLVMBuild.txt Extracted ObjCARC.cpp into its own library libLLVMObjCARCOpts in preparation for refactoring the ARC Optimizer. 2013-01-28 01:35:51 +00:00
Makefile Extracted ObjCARC.cpp into its own library libLLVMObjCARCOpts in preparation for refactoring the ARC Optimizer. 2013-01-28 01:35:51 +00:00