From f73f80975639a7413bee66391556f7ea51f83423 Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Mon, 15 Jul 2013 16:40:52 +0000 Subject: 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 --- include/llvm/Option/ArgList.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'include/llvm/Option') 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 #include #include @@ -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 SynthesizedStrings; + mutable std::list SynthesizedStrings; /// The number of original input argument strings. unsigned NumInputArgStrings; -- cgit v1.1