diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2015-08-13 01:07:02 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2015-08-13 01:07:02 +0000 |
commit | b82455d2625aef2c5925dda8586888c2c48a5013 (patch) | |
tree | 5e090dcd675b9b276e2be6c6ce6c89739536e2cc /llvm/unittests/Support/CommandLineTest.cpp | |
parent | dc298329cc378e923995d5c674b112f671d806a5 (diff) | |
download | llvm-b82455d2625aef2c5925dda8586888c2c48a5013.zip llvm-b82455d2625aef2c5925dda8586888c2c48a5013.tar.gz llvm-b82455d2625aef2c5925dda8586888c2c48a5013.tar.bz2 |
There is only one saver of strings.
llvm-svn: 244854
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
-rw-r--r-- | llvm/unittests/Support/CommandLineTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/Support/CommandLineTest.cpp b/llvm/unittests/Support/CommandLineTest.cpp index e0fbf5b..2ae30c2 100644 --- a/llvm/unittests/Support/CommandLineTest.cpp +++ b/llvm/unittests/Support/CommandLineTest.cpp @@ -155,7 +155,7 @@ void testCommandLineTokenizer(ParserFunction *parse, const char *Input, const char *const Output[], size_t OutputSize) { SmallVector<const char *, 0> Actual; BumpPtrAllocator A; - BumpPtrStringSaver Saver(A); + StringSaver Saver(A); parse(Input, Saver, Actual, /*MarkEOLs=*/false); EXPECT_EQ(OutputSize, Actual.size()); for (unsigned I = 0, E = Actual.size(); I != E; ++I) { |