[llvm-commits] CVS: llvm/lib/AsmParser/llvmAsmParser.y

Chris Lattner clattner at apple.com
Mon Apr 16 14:49:22 PDT 2007


On Apr 16, 2007, at 2:46 PM, Reid Spencer wrote:

> On Mon, 2007-04-16 at 14:33 -0700, Chris Lattner wrote:
>>> Check length of string before we walk off the end of it.
>>> Thanks, Chris.
>>
>> <quoting reid>but I want to support nul characters in my names!</>
>
> Okay, so this whole "ValueName" and "StringMap" thing I don't
> understand. How do you get the length of a name now?

getKeyLength() method on the ValueName.

-Chris



More information about the llvm-commits mailing list