summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm/Support/CommandLine.h
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2015-05-28 21:51:52 +0000
committerChris Bieneman <beanz@apple.com>2015-05-28 21:51:52 +0000
commitfa150d2aeecd8ab1d227e46b36b46be44a768abf (patch)
treefb34da498ef16fe20537e19b6bcd7769a701bad3 /llvm/include/llvm/Support/CommandLine.h
parentb63298e0c89ed7236a7fbe3e9b9d912e04940e7e (diff)
downloadbcm5719-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.h5
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);
}
OpenPOWER on IntegriCloud