More of P0600 - '[[nodiscard]] in the Library' mark empty() as nodiscard in string...
authorMarshall Clow <mclow.lists@gmail.com>
Wed, 15 Nov 2017 20:02:27 +0000 (20:02 +0000)
committerMarshall Clow <mclow.lists@gmail.com>
Wed, 15 Nov 2017 20:02:27 +0000 (20:02 +0000)
commit25a7ba4524219e7eeb1254db0d406448f3703d3a
tree7dcad66bfed31f43ebef9bd15e925e95acfa7a58
parent118a7a99860b5079509a9452b9052053a295f5d7
More of P0600 - '[[nodiscard]] in the Library' mark empty() as nodiscard in string, string_view, and the free function std::empty(). Removed tabs from <string_view>, which is why the diff is so big.

llvm-svn: 318328
libcxx/include/iterator
libcxx/include/string
libcxx/include/string_view
libcxx/test/std/iterators/iterator.container/empty.array.fail.cpp [new file with mode: 0644]
libcxx/test/std/iterators/iterator.container/empty.container.fail.cpp [new file with mode: 0644]
libcxx/test/std/iterators/iterator.container/empty.initializer_list.fail.cpp [new file with mode: 0644]
libcxx/test/std/strings/basic.string/string.capacity/empty.fail.cpp [new file with mode: 0644]
libcxx/test/std/strings/basic.string/string.capacity/empty.pass.cpp
libcxx/test/std/strings/string.view/string.view.capacity/capacity.pass.cpp
libcxx/test/std/strings/string.view/string.view.capacity/empty.fail.cpp [new file with mode: 0644]