From: Chris Bieneman Date: Thu, 28 May 2015 21:51:52 +0000 (+0000) Subject: Fixing the polly build. X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=9cc5055248bdde9e0f61dfa818bfd0be7a347afd;ds=sidebyside Fixing the polly build. I broke the polly build in r238505. This fixes the failure by adding non-const iterator erase methods to cl::list_storage. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238509 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Support/CommandLine.h b/include/llvm/Support/CommandLine.h index 324db6e9e84..c6d43011542 100644 --- a/include/llvm/Support/CommandLine.h +++ b/include/llvm/Support/CommandLine.h @@ -1323,6 +1323,11 @@ public: return Storage.erase(first, last); } + iterator erase(iterator pos) { return Storage.erase(pos); } + iterator erase(iterator first, iterator last) { + return Storage.erase(first, last); + } + iterator insert(const_iterator pos, const DataType &value) { return Storage.insert(pos, value); }