On Tue, Aug 17, 2010 at 11:19 AM, Peter Davies <ultratwo at gmail.com> wrote: >>> What is the StringRef equivalent of NULL? >> >> StringRef() >> >> -Chris >> > > So why does StringRef(NULL) segfault? IIRC, because it calls strlen(NULL). -Eli