This parameter should default to true, not false.
authorOwen Anderson <resistor@mac.com>
Tue, 7 Jul 2009 16:56:05 +0000 (16:56 +0000)
committerOwen Anderson <resistor@mac.com>
Tue, 7 Jul 2009 16:56:05 +0000 (16:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74915 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/LLVMContext.h

index b3b94609efe3878de3cb3593020306d7d215eb65..7420a7421129b3d6ccdff355a4328bc87ba75651 100644 (file)
@@ -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);