This returns the twine as a single StringRef. This method is only valid if isSingleStringRef() is true.

Synopsis

Declared in <llvm/ADT/Twine.h>

StringRef
getSingleStringRef() const;

Return Value

A StringRef referring to this twine's single string value.

Created with MrDocs