From e53c28ad5b9c5e1eaba68e6a383ba161bc5f50ee 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238516 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/CommandLine.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/llvm/Support/CommandLine.h b/include/llvm/Support/CommandLine.h index c6d43011542..1ad8a3bfd93 100644 --- a/include/llvm/Support/CommandLine.h +++ b/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(); } -- 2.34.1