[llvm] r238516 - Fixing broken bots after r238505.
Chris Bieneman
beanz at apple.com
Thu May 28 15:18:34 PDT 2015
Author: cbieneman
Date: Thu May 28 17:18:34 2015
New Revision: 238516
URL: http://llvm.org/viewvc/llvm-project?rev=238516&view=rev
Log:
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.
Modified:
llvm/trunk/include/llvm/Support/CommandLine.h
Modified: llvm/trunk/include/llvm/Support/CommandLine.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/CommandLine.h?rev=238516&r1=238515&r2=238516&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/CommandLine.h (original)
+++ llvm/trunk/include/llvm/Support/CommandLine.h Thu May 28 17:18:34 2015
@@ -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(); }
More information about the llvm-commits
mailing list