add ::drop_back() and ::drop_front() methods, which are like pop_front/pop_back on...
authorChris Lattner <sabre@nondot.org>
Tue, 24 Jan 2012 08:58:57 +0000 (08:58 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 24 Jan 2012 08:58:57 +0000 (08:58 +0000)
commita97a5eabe2a412d7cc078f94b7df7ee8ac840853
tree3f494ac72d7260e0e2cb3767680a329f5a8ba8df
parentdf39028607ca751f0a3f50a76144464b825ff97a
add ::drop_back() and ::drop_front() methods, which are like pop_front/pop_back on a vector, but a) aren't destructive to "this", and b) can take a # elements to drop.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148791 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/StringRef.h