summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2015-05-28 22:18:34 +0000
committerChris Bieneman <beanz@apple.com>2015-05-28 22:18:34 +0000
commit2607a0d6551fc97d03e0b0f819d5a0eb096e013e (patch)
tree2ea1709732c884e5d14352eabb3624767cd91524
parent4e6438c5348359fff39207d7854e5758b9d0f0db (diff)
downloadbcm5719-llvm-2607a0d6551fc97d03e0b0f819d5a0eb096e013e.tar.gz
bcm5719-llvm-2607a0d6551fc97d03e0b0f819d5a0eb096e013e.zip
Fixing broken bots after r238505.
Need non-const iterator inserts too. These failures seem to be due to differences in the versions of libstdc++ on various operating systems. llvm-svn: 238516
-rw-r--r--llvm/include/llvm/Support/CommandLine.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/include/llvm/Support/CommandLine.h b/llvm/include/llvm/Support/CommandLine.h
index c6d43011542..1ad8a3bfd93 100644
--- a/llvm/include/llvm/Support/CommandLine.h
+++ b/llvm/include/llvm/Support/CommandLine.h
@@ -1335,6 +1335,13 @@ public:
return Storage.insert(pos, value);
}
+ iterator insert(iterator pos, const DataType &value) {
+ return Storage.insert(pos, value);
+ }
+ iterator insert(iterator pos, DataType &&value) {
+ return Storage.insert(pos, value);
+ }
+
reference front() { return Storage.front(); }
const_reference front() const { return Storage.front(); }
OpenPOWER on IntegriCloud