From af87d6f2177f90a841781a9d3e0edf5415da48c8 Mon Sep 17 00:00:00 2001 From: Justin Lebar Date: Fri, 3 Feb 2017 15:13:34 +0000 Subject: [PATCH] [ADT] Fix comment on StringRef::take_back. NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294010 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/ADT/StringRef.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/ADT/StringRef.h b/include/llvm/ADT/StringRef.h index d80a848c44a..0fc0b4becf1 100644 --- a/include/llvm/ADT/StringRef.h +++ b/include/llvm/ADT/StringRef.h @@ -600,7 +600,7 @@ namespace llvm { return drop_back(size() - N); } - /// Return a StringRef equal to 'this' but with only the first \p N + /// Return a StringRef equal to 'this' but with only the last \p N /// elements remaining. If \p N is greater than the length of the /// string, the entire string is returned. LLVM_NODISCARD -- 2.50.1