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 e38a72a06662f48dfd7d6b5b8a1fc5ceb6f59cb9..6c67c79b6c0e274ab63052752747e81f940157c2 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);
   }