diff options
| author | Chris Bieneman <beanz@apple.com> | 2015-05-28 21:51:52 +0000 |
|---|---|---|
| committer | Chris Bieneman <beanz@apple.com> | 2015-05-28 21:51:52 +0000 |
| commit | fa150d2aeecd8ab1d227e46b36b46be44a768abf (patch) | |
| tree | fb34da498ef16fe20537e19b6bcd7769a701bad3 /llvm/include/llvm/Support/CommandLine.h | |
| parent | b63298e0c89ed7236a7fbe3e9b9d912e04940e7e (diff) | |
| download | bcm5719-llvm-fa150d2aeecd8ab1d227e46b36b46be44a768abf.tar.gz bcm5719-llvm-fa150d2aeecd8ab1d227e46b36b46be44a768abf.zip | |
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
Diffstat (limited to 'llvm/include/llvm/Support/CommandLine.h')
| -rw-r--r-- | llvm/include/llvm/Support/CommandLine.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/include/llvm/Support/CommandLine.h b/llvm/include/llvm/Support/CommandLine.h index 324db6e9e84..c6d43011542 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); } |

