[LLVMdev] source code for llvm

shines_tao shines_tao at 126.com
Sun Dec 20 01:41:02 PST 2009


i don't understand the source code : 
static StringMapEntryBase *getTombstoneVal() {
    return (StringMapEntryBase*)-1;
  }     at "include\llvm\adt\stingmaph"  at line 116. "(StringMapEntryBase*)-1" is it the cast or something other? why there is a * after class StringMapEntryBase?
thank you ~~
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20091220/f235cb1f/attachment.html>


More information about the llvm-dev mailing list