From 3081d89bf0119002f27737b76a4caa8e17002f43 Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Tue, 7 Jul 2009 16:56:05 +0000 Subject: [PATCH] This parameter should default to true, not false. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74915 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/LLVMContext.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/LLVMContext.h b/include/llvm/LLVMContext.h index b3b94609efe..7420a742112 100644 --- a/include/llvm/LLVMContext.h +++ b/include/llvm/LLVMContext.h @@ -95,7 +95,7 @@ public: Constant* getConstantArray(const ArrayType* T, Constant* const* Vals, unsigned NumVals); Constant* getConstantArray(const std::string& Initializer, - bool AddNull = false); + bool AddNull = true); // ConstantExpr accessors Constant* getConstantExpr(unsigned Opcode, Constant* C1, Constant* C2); -- 2.34.1