aboutsummaryrefslogtreecommitdiff
path: root/tools/llvm2cpp/CppWriter.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-05-30 08:23:18 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-05-30 08:23:18 +0000
commit8949477ae43883f229717f65763e5c502fd914c7 (patch)
treeacf687ae43159ccc602c7964846f7db8e6fb6546 /tools/llvm2cpp/CppWriter.cpp
parent5a622f2e06e6f579c11875bb895328e71e286636 (diff)
Adjust the interface to ConstantArray::get. The previous
implementation always added a null byte to the end of the string. It turns out that this is not always wanted. By adding a length parameter we preserve this behavior when length==0 (default value) but also allow other lengths (not null terminated) to be created. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28552 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm2cpp/CppWriter.cpp')
0 files changed, 0 insertions, 0 deletions