CXString createRef(StringRef String) used to return an invalid string when invoked with some empty strings:
If a StringRef holds a non-nullptr pointer, for instance, pointing into contents of a larger string, and has a zero length, createRef previously returned the entire larger string, ignoring the fact that the actual string passed to it as a param is empty.
This was discovered when invoking c-index-test to dump the contents of documentation comments, in case the comment contains an empty HTML attribute, such as src="".
Does this actually happen or are we just doing this to be safe?