add a setName variant that takes a null-terminated string. This can be
authorChris Lattner <sabre@nondot.org>
Tue, 13 Feb 2007 07:53:34 +0000 (07:53 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 13 Feb 2007 07:53:34 +0000 (07:53 +0000)
commitec79b3da13ae9ba09f52e177bd71fcc5669d61a5
tree7e7091d79aced6902ecc25b29b2e1c78fa79b4a6
parent189395282649f11ece08bc2a792187de3669129c
add a setName variant that takes a null-terminated string.  This can be
used to avoid std::string allocations in common cases.

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