Provide a simpler interface for getting a ConstantArray from a character
authorReid Spencer <rspencer@reidspencer.com>
Tue, 30 May 2006 18:15:07 +0000 (18:15 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Tue, 30 May 2006 18:15:07 +0000 (18:15 +0000)
commit461bed2b753c514ac15ff824befe585988408f45
treeae6c79305341921ea57812f856b26239d080fa33
parent6b8e5a93183ab08811b7b71887d8c7d774666210
Provide a simpler interface for getting a ConstantArray from a character
string. Instead of specifying the length, just specify whether the user
wants a terminating null or not. The default is "true" to retain the same
behavior as previously provided by this function.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28562 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Constants.h
lib/VMCore/Constants.cpp