IR: Remove implicit iterator conversions from lib/IR, NFC
[oota-llvm.git] / include / llvm / IR / Constants.h
index c05133a3dacf34751aeee9bfe228dbd91cb336c2..11ca8008f2953bdf2d916e6e8248e038c31d773c 100644 (file)
@@ -1175,7 +1175,8 @@ public:
   /// gets constant-folded, the type changes, or the expression is otherwise
   /// canonicalized.  This parameter should almost always be \c false.
   Constant *getWithOperands(ArrayRef<Constant *> Ops, Type *Ty,
-                            bool OnlyIfReduced = false) const;
+                            bool OnlyIfReduced = false,
+                            Type *SrcTy = nullptr) const;
 
   /// getAsInstruction - Returns an Instruction which implements the same
   /// operation as this ConstantExpr. The instruction is not linked to any basic