diff options
author | Stephan T. Lavavej <stl@exchange.microsoft.com> | 2017-02-05 22:47:41 +0000 |
---|---|---|
committer | Stephan T. Lavavej <stl@exchange.microsoft.com> | 2017-02-05 22:47:41 +0000 |
commit | 50bd9576f0e736bafa0aa8d082e6bd8a538b68f4 (patch) | |
tree | 4ea79d5ca486e0f622915db78c5f998a5f587d2b /libcxx/test/std/strings/basic.string/string.cons/iter_alloc.pass.cpp | |
parent | 03fe6e2da23ed6e8317bda3b81d0ac3bb36009b3 (diff) | |
download | bcm5719-llvm-50bd9576f0e736bafa0aa8d082e6bd8a538b68f4.tar.gz bcm5719-llvm-50bd9576f0e736bafa0aa8d082e6bd8a538b68f4.zip |
[libcxx] [test] Fix Clang -Wunused-local-typedef, part 2/3.
These typedefs were completely unused.
Fixes D29136.
llvm-svn: 294155
Diffstat (limited to 'libcxx/test/std/strings/basic.string/string.cons/iter_alloc.pass.cpp')
-rw-r--r-- | libcxx/test/std/strings/basic.string/string.cons/iter_alloc.pass.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libcxx/test/std/strings/basic.string/string.cons/iter_alloc.pass.cpp b/libcxx/test/std/strings/basic.string/string.cons/iter_alloc.pass.cpp index 1b10224cd9e..1f83696891c 100644 --- a/libcxx/test/std/strings/basic.string/string.cons/iter_alloc.pass.cpp +++ b/libcxx/test/std/strings/basic.string/string.cons/iter_alloc.pass.cpp @@ -29,7 +29,6 @@ test(It first, It last) { typedef typename std::iterator_traits<It>::value_type charT; typedef std::basic_string<charT, std::char_traits<charT>, test_allocator<charT> > S; - typedef typename S::traits_type T; typedef typename S::allocator_type A; S s2(first, last); LIBCPP_ASSERT(s2.__invariants()); @@ -47,7 +46,6 @@ test(It first, It last, const A& a) { typedef typename std::iterator_traits<It>::value_type charT; typedef std::basic_string<charT, std::char_traits<charT>, A> S; - typedef typename S::traits_type T; S s2(first, last, a); LIBCPP_ASSERT(s2.__invariants()); assert(s2.size() == static_cast<std::size_t>(std::distance(first, last))); |