[llvm-commits] [llvm] r74915 - /llvm/trunk/include/llvm/LLVMContext.h

Owen Anderson resistor at mac.com
Tue Jul 7 09:56:28 PDT 2009


Author: resistor
Date: Tue Jul  7 11:56:05 2009
New Revision: 74915

URL: http://llvm.org/viewvc/llvm-project?rev=74915&view=rev
Log:
This parameter should default to true, not false.

Modified:
    llvm/trunk/include/llvm/LLVMContext.h

Modified: llvm/trunk/include/llvm/LLVMContext.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/LLVMContext.h?rev=74915&r1=74914&r2=74915&view=diff

==============================================================================
--- llvm/trunk/include/llvm/LLVMContext.h (original)
+++ llvm/trunk/include/llvm/LLVMContext.h Tue Jul  7 11:56:05 2009
@@ -95,7 +95,7 @@
   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);





More information about the llvm-commits mailing list