diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Option/ArgList.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/Option/ArgList.h b/include/llvm/Option/ArgList.h index 06ba679..2f4d852 100644 --- a/include/llvm/Option/ArgList.h +++ b/include/llvm/Option/ArgList.h @@ -12,9 +12,10 @@ #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 <list> +#include "llvm/Support/Allocator.h" #include <string> #include <vector> @@ -298,7 +299,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 std::list<std::string> SynthesizedStrings; + mutable StringSet<BumpPtrAllocator> SynthesizedStrings; /// The number of original input argument strings. unsigned NumInputArgStrings; |