summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/LLVMContext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/LLVMContext.h b/llvm/include/llvm/LLVMContext.h
index b3b94609efe..7420a742112 100644
--- a/llvm/include/llvm/LLVMContext.h
+++ b/llvm/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);
OpenPOWER on IntegriCloud