diff options
| author | Louis Dionne <ldionne@apple.com> | 2019-10-23 10:40:15 -0700 |
|---|---|---|
| committer | Louis Dionne <ldionne@apple.com> | 2019-10-23 11:19:19 -0700 |
| commit | 6b77ebdc919d9212f50fd353b1da0d84d3815bf3 (patch) | |
| tree | 812aad93c9f6fb083eecfb6fc1f4d668b2112dec /libcxx/test/std/strings/strings.erasure | |
| parent | 684ebc605e0b7f8782e634e1bb3621a9b0ec674f (diff) | |
| download | bcm5719-llvm-6b77ebdc919d9212f50fd353b1da0d84d3815bf3.tar.gz bcm5719-llvm-6b77ebdc919d9212f50fd353b1da0d84d3815bf3.zip | |
[NFC] Strip trailing whitespace from libc++
Diffstat (limited to 'libcxx/test/std/strings/strings.erasure')
| -rw-r--r-- | libcxx/test/std/strings/strings.erasure/erase.pass.cpp | 2 | ||||
| -rw-r--r-- | libcxx/test/std/strings/strings.erasure/erase_if.pass.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libcxx/test/std/strings/strings.erasure/erase.pass.cpp b/libcxx/test/std/strings/strings.erasure/erase.pass.cpp index 5013300d28b..26d6b8674e8 100644 --- a/libcxx/test/std/strings/strings.erasure/erase.pass.cpp +++ b/libcxx/test/std/strings/strings.erasure/erase.pass.cpp @@ -11,7 +11,7 @@ // template <class charT, class traits, class Allocator, class U> // void erase(basic_string<charT, traits, Allocator>& c, const U& value); - + #include <string> #include <optional> diff --git a/libcxx/test/std/strings/strings.erasure/erase_if.pass.cpp b/libcxx/test/std/strings/strings.erasure/erase_if.pass.cpp index 5f2fb0117f8..30a58c0e646 100644 --- a/libcxx/test/std/strings/strings.erasure/erase_if.pass.cpp +++ b/libcxx/test/std/strings/strings.erasure/erase_if.pass.cpp @@ -10,7 +10,7 @@ // <string> // template <class charT, class traits, class Allocator, class Predicate> -// void erase_if(basic_string<charT, traits, Allocator>& c, Predicate pred); +// void erase_if(basic_string<charT, traits, Allocator>& c, Predicate pred); #include <string> @@ -37,7 +37,7 @@ void test() auto isD = [](auto ch) { return ch == 'd';}; auto True = [](auto) { return true; }; auto False = [](auto) { return false; }; - + test0(S(""), isA, S("")); test0(S("a"), isA, S("")); |

