diff options
author | Reid Kleckner <reid@kleckner.net> | 2013-07-15 16:40:52 +0000 |
---|---|---|
committer | Reid Kleckner <reid@kleckner.net> | 2013-07-15 16:40:52 +0000 |
commit | f73f80975639a7413bee66391556f7ea51f83423 (patch) | |
tree | b5bee42dfd6f23ac453ca72c18e911876863ca44 /include/llvm | |
parent | 0bf3c99886bed6796eada8f65942ee6023fc6e89 (diff) | |
download | external_llvm-f73f80975639a7413bee66391556f7ea51f83423.zip external_llvm-f73f80975639a7413bee66391556f7ea51f83423.tar.gz external_llvm-f73f80975639a7413bee66391556f7ea51f83423.tar.bz2 |
Revert "[Option] Store arg strings in a set backed by a BumpPtrAllocator"
This broke clang's crash-report.c test, and I haven't been able to
figure it out yet.
This reverts commit r186319.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186329 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/Option/ArgList.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/llvm/Option/ArgList.h b/include/llvm/Option/ArgList.h index 2f4d852..06ba679 100644 --- a/include/llvm/Option/ArgList.h +++ b/include/llvm/Option/ArgList.h @@ -12,10 +12,9 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringRef.h" -#include "llvm/ADT/StringSet.h" #include "llvm/Option/OptSpecifier.h" #include "llvm/Option/Option.h" -#include "llvm/Support/Allocator.h" +#include <list> #include <string> #include <vector> @@ -299,7 +298,7 @@ private: /// This is mutable since we treat the ArgList as being the list /// of Args, and allow routines to add new strings (to have a /// convenient place to store the memory) via MakeIndex. - mutable StringSet<BumpPtrAllocator> SynthesizedStrings; + mutable std::list<std::string> SynthesizedStrings; /// The number of original input argument strings. unsigned NumInputArgStrings; |