[PATCH] D32541: Supress all uses of LLVM_END_WITH_NULL

serge via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 26 08:56:39 PDT 2017


serge-sans-paille created this revision.
Herald added a reviewer: javed.absar.

Use variadic templates instead of relying on <cstdarg> + sentinel.

This enforces better type checking and makes code more readable.

No functional change.


Repository:
  rL LLVM

https://reviews.llvm.org/D32541

Files:
  include/llvm/ADT/STLExtras.h
  include/llvm/IR/Constants.h
  include/llvm/IR/DerivedTypes.h
  include/llvm/Support/Compiler.h
  lib/CodeGen/SjLjEHPrepare.cpp
  lib/IR/Constants.cpp
  lib/IR/Instructions.cpp
  lib/IR/Type.cpp
  lib/Target/AArch64/AArch64ISelLowering.cpp
  lib/Target/ARM/ARMISelLowering.cpp
  lib/Target/X86/X86ISelLowering.cpp
  lib/Transforms/Instrumentation/AddressSanitizer.cpp
  lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
  lib/Transforms/Instrumentation/EfficiencySanitizer.cpp
  lib/Transforms/Utils/EscapeEnumerator.cpp
  lib/Transforms/Utils/ModuleUtils.cpp
  lib/Transforms/Utils/SimplifyLibCalls.cpp
  lib/Transforms/Utils/ValueMapper.cpp
  tools/bugpoint/ExtractFunction.cpp
  unittests/ExecutionEngine/Orc/OrcTestCommon.h
  unittests/IR/TypeBuilderTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32541.96755.patch
Type: text/x-patch
Size: 28657 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170426/d9d85f95/attachment.bin>


More information about the llvm-commits mailing list