[llvm-commits] [llvm] r125486 - /llvm/trunk/include/llvm/ADT/ArrayRef.h
Frits van Bommel
fvbommel at gmail.com
Mon Feb 14 01:38:17 PST 2011
On Mon, Feb 14, 2011 at 8:35 AM, Chris Lattner <sabre at nondot.org> wrote:
> + /// This class does not own the underlying data, it is expected to be used in
> + /// situations where the data resides in some other buffer, whose lifetime
> + /// extends past that of the StringRef. For this reason, it is not in general
> + /// safe to store a ArrayRef.
s/StringRef/ArrayRef/
> + /// empty - Check if the string is empty.
> + /// size - Get the string size.
> + /// back - Get the last character in the string.
3 x s/string/array/
More information about the llvm-commits
mailing list