From 2607a0d6551fc97d03e0b0f819d5a0eb096e013e Mon Sep 17 00:00:00 2001 From: Chris Bieneman Date: Thu, 28 May 2015 22:18:34 +0000 Subject: [PATCH] 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 --- llvm/include/llvm/Support/CommandLine.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/llvm/include/llvm/Support/CommandLine.h b/llvm/include/llvm/Support/CommandLine.h index c6d430115427..1ad8a3bfd937 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(); }