Explicit conversion to StringRef.

Synopsis

Declared in <llvm/ADT/SmallString.h>

[[nodiscard]]
StringRef
str() const;

Return Value

A StringRef view of this string's characters.

Note

The return value should not be discarded.

Created with MrDocs