[llvm] r243769 - Attempt to appease the MSVC build bots
David Majnemer
david.majnemer at gmail.com
Fri Jul 31 11:13:26 PDT 2015
Author: majnemer
Date: Fri Jul 31 13:13:25 2015
New Revision: 243769
URL: http://llvm.org/viewvc/llvm-project?rev=243769&view=rev
Log:
Attempt to appease the MSVC build bots
They don't seem to care for initializing an ArrayRef with a
std::initializer_list.
Modified:
llvm/trunk/include/llvm/IR/Instructions.h
Modified: llvm/trunk/include/llvm/IR/Instructions.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/Instructions.h?rev=243769&r1=243768&r2=243769&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/Instructions.h (original)
+++ llvm/trunk/include/llvm/IR/Instructions.h Fri Jul 31 13:13:25 2015
@@ -3880,7 +3880,7 @@ protected:
public:
static TerminatePadInst *Create(LLVMContext &C, BasicBlock *BB = nullptr,
- ArrayRef<Value *> Args = {},
+ ArrayRef<Value *> Args = None,
const Twine &NameStr = "",
Instruction *InsertBefore = nullptr) {
unsigned Values = unsigned(Args.size());
More information about the llvm-commits
mailing list