From fa150d2aeecd8ab1d227e46b36b46be44a768abf Mon Sep 17 00:00:00 2001 From: Chris Bieneman Date: Thu, 28 May 2015 21:51:52 +0000 Subject: [PATCH] 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. llvm-svn: 238509 --- llvm/include/llvm/Support/CommandLine.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/llvm/include/llvm/Support/CommandLine.h b/llvm/include/llvm/Support/CommandLine.h index 324db6e..c6d4301 100644 --- a/llvm/include/llvm/Support/CommandLine.h +++ b/llvm/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); } -- 2.7.4