aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-07-07 16:56:05 +0000
committerOwen Anderson <resistor@mac.com>2009-07-07 16:56:05 +0000
commit3081d89bf0119002f27737b76a4caa8e17002f43 (patch)
tree9b778db5c4680ef162b7fbcc2f976a422578c66b /include
parent15367df3f90f5203782f3b1e10ffa9e8dc89e8f4 (diff)
downloadexternal_llvm-3081d89bf0119002f27737b76a4caa8e17002f43.zip
external_llvm-3081d89bf0119002f27737b76a4caa8e17002f43.tar.gz
external_llvm-3081d89bf0119002f27737b76a4caa8e17002f43.tar.bz2
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
Diffstat (limited to 'include')
-rw-r--r--include/llvm/LLVMContext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/LLVMContext.h b/include/llvm/LLVMContext.h
index b3b9460..7420a74 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);