Make getLastArgNoClaim work for up to 4 arguments.
authorFilipe Cabecinhas <me@filcab.net>
Fri, 20 Mar 2015 23:32:58 +0000 (23:32 +0000)
committerFilipe Cabecinhas <me@filcab.net>
Fri, 20 Mar 2015 23:32:58 +0000 (23:32 +0000)
commite3f2e6fcfe35011ac9a6565dbe5f7e160683c797
tree06e86062dcf2adf99bd0c85017399dc93353cdf8
parent2c11db2e64ded7f6aa94dfc500aeb19a609e9d83
Make getLastArgNoClaim work for up to 4 arguments.

Summary:
This is needed for http://reviews.llvm.org/D8507
I have no idea what stand-alone tests could be done, if needed.

Reviewers: Bigcheese, craig.topper, samsonov

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D8508

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232859 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Option/ArgList.h
lib/Option/ArgList.cpp