llvm-project/llvm/lib
Reid Kleckner 971c3ea67b 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
..
Analysis Revert r219432 - "Revert "[BasicAA] Revert "Revert r218714 - Make better use of zext and sign information.""" 2014-11-13 09:16:54 +00:00
AsmParser X86: Implement the vectorcall calling convention 2014-10-28 01:29:26 +00:00
Bitcode Move calls to push_back out of readAbbreviated(Literal|Field). 2014-11-13 22:29:02 +00:00
CodeGen Use nullptr instead of NULL for variadic sentinels 2014-11-13 22:55:19 +00:00
DebugInfo Revert "[dwarfdump] Add support for dumping accelerator tables." 2014-11-13 00:15:15 +00:00
ExecutionEngine Changing a StringRef::begin() call into StringRef::data(); NFC. 2014-11-12 19:43:13 +00:00
IR Use nullptr instead of NULL for variadic sentinels 2014-11-13 22:55:19 +00:00
IRReader Remove unused variable. NFC. 2014-11-06 23:16:57 +00:00
LTO libLTO: Assert if LTOCodeGenerator and LTOModule are from different contexts 2014-11-11 23:13:10 +00:00
LineEditor [CMake] Use LINK_LIBS instead of target_link_libraries(). 2014-02-26 06:41:29 +00:00
Linker Revert "IR: MDNode => Value" 2014-11-11 21:30:22 +00:00
MC Fix a regression on the disassembling C API. 2014-11-13 16:52:07 +00:00
Object Un-break the big-endian buildbots 2014-11-13 20:07:06 +00:00
Option Add an overload of getLastArgNoClaim taking two OptSpecifiers. 2014-09-12 19:42:53 +00:00
ProfileData Use ErrorOr for the ::create factory on instrumented and sample profilers. 2014-11-03 00:51:45 +00:00
Support Avoid usage of char16_t as MSVC "14" doesn't appear to support it 2014-11-13 22:09:56 +00:00
TableGen Eliminate some deep std::vector copies. NFC. 2014-10-03 18:33:16 +00:00
Target We can get the TLOF from the TargetMachine - so constructor no longer requires TargetLoweringObjectFile to be passed. 2014-11-13 21:29:21 +00:00
Transforms Use nullptr instead of NULL for variadic sentinels 2014-11-13 22:55:19 +00:00
CMakeLists.txt ProfileData: Introduce the InstrProfReader interface and a text reader 2014-03-21 17:24:48 +00:00
LLVMBuild.txt ProfileData: Introduce the InstrProfReader interface and a text reader 2014-03-21 17:24:48 +00:00
Makefile ProfileData: Introduce the InstrProfReader interface and a text reader 2014-03-21 17:24:48 +00:00