OSDN Git Service

add a new pop_back_val method which returns the value popped. This is
authorChris Lattner <sabre@nondot.org>
Fri, 5 Dec 2008 07:11:05 +0000 (07:11 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 5 Dec 2008 07:11:05 +0000 (07:11 +0000)
commit7f50863e527f5464bd6fcbcd7719f8344f54cb7e
treeba8728573abea53e1afba76afb2a844dec9c82da
parent2ce7f2068f13566f5a70ee779e3bb83a6cb8d942
add a new pop_back_val method which returns the value popped.  This is
heretical from a STL standpoint, but is oh-so-useful for things that
can't throw exceptions when copied, like, well, everything in LLVM.

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