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
commitbf92457e4ed82ecf835e6acc3fcf40374145c245 (patch)
tree9b778db5c4680ef162b7fbcc2f976a422578c66b /include
parentcebd9367ccf03dc44bc2d2411be66220c7ee062b (diff)
downloadexternal_llvm-bf92457e4ed82ecf835e6acc3fcf40374145c245.zip
external_llvm-bf92457e4ed82ecf835e6acc3fcf40374145c245.tar.gz
external_llvm-bf92457e4ed82ecf835e6acc3fcf40374145c245.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);