llvm::StringRef::back

Get the last character in the string.

Synopsis

Declared in <llvm/ADT/StringRef.h>

[[nodiscard]]
char
back() const;

Return Value

The last character.

NOTE

The return value should not be discarded.