[llvm] r238509 - Fixing the polly build.
Chris Bieneman
beanz at apple.com
Thu May 28 14:51:52 PDT 2015
Author: cbieneman
Date: Thu May 28 16:51:52 2015
New Revision: 238509
URL: http://llvm.org/viewvc/llvm-project?rev=238509&view=rev
Log:
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.
Modified:
llvm/trunk/include/llvm/Support/CommandLine.h
Modified: llvm/trunk/include/llvm/Support/CommandLine.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/CommandLine.h?rev=238509&r1=238508&r2=238509&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/CommandLine.h (original)
+++ llvm/trunk/include/llvm/Support/CommandLine.h Thu May 28 16:51:52 2015
@@ -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);
}
More information about the llvm-commits
mailing list