Avoid MSVC-incompatible use of init list.
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 14 Jul 2015 17:40:53 +0000 (17:40 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 14 Jul 2015 17:40:53 +0000 (17:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242170 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/IR/IRBuilder.h

index e38a72a..6c67c79 100644 (file)
@@ -1464,7 +1464,7 @@ public:
     return Insert(PHINode::Create(Ty, NumReservedValues), Name);
   }
 
-  CallInst *CreateCall(Value *Callee, ArrayRef<Value *> Args = {},
+  CallInst *CreateCall(Value *Callee, ArrayRef<Value *> Args = None,
                        const Twine &Name = "") {
     return Insert(CallInst::Create(Callee, Args), Name);
   }