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
This commit is contained in:
Chris Bieneman 2015-05-28 21:51:52 +00:00
parent b63298e0c8
commit fa150d2aee
1 changed files with 5 additions and 0 deletions

View File

@ -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);
}