From 73df1aea4f8a779241c053ab54f616f7b3a6dcb9 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sat, 12 Jan 2019 15:58:00 +0100 Subject: array_view was changed to span in upcoming C++20 ...see "span: bounds-safe views for sequences of objects". o3tl::span is still an incomplete approximation of std::span; removed those o3tl::array_view members that are not present in std::span (and were not used in the code). Relies on C++17 __has_include to use standard where available (e.g., in LLVM 7 libc++). Change-Id: I82a7e246b61b2456fa6183025d25eec4121ad3c9 Reviewed-on: https://gerrit.libreoffice.org/66215 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- solenv/clang-format/blacklist | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'solenv') diff --git a/solenv/clang-format/blacklist b/solenv/clang-format/blacklist index 0287ee50af5c..87f88d633832 100644 --- a/solenv/clang-format/blacklist +++ b/solenv/clang-format/blacklist @@ -6489,7 +6489,6 @@ include/linguistic/lngprops.hxx include/linguistic/misc.hxx include/linguistic/spelldta.hxx include/o3tl/any.hxx -include/o3tl/array_view.hxx include/o3tl/char16_t2wchar_t.hxx include/o3tl/cow_wrapper.hxx include/o3tl/deleter.hxx @@ -6504,6 +6503,7 @@ include/o3tl/numeric.hxx include/o3tl/runtimetooustring.hxx include/o3tl/safeint.hxx include/o3tl/sorted_vector.hxx +include/o3tl/span.hxx include/o3tl/strong_int.hxx include/o3tl/typed_flags_set.hxx include/o3tl/vector_pool.hxx @@ -8777,12 +8777,12 @@ mysqlc/source/mysqlc_types.cxx mysqlc/source/mysqlc_types.hxx o3tl/qa/cow_wrapper_clients.cxx o3tl/qa/cow_wrapper_clients.hxx -o3tl/qa/test-array_view.cxx o3tl/qa/test-cow_wrapper.cxx o3tl/qa/test-enumarray.cxx o3tl/qa/test-lru_map.cxx o3tl/qa/test-safeint.cxx o3tl/qa/test-sorted_vector.cxx +o3tl/qa/test-span.cxx o3tl/qa/test-string_view.cxx o3tl/qa/test-typed_flags.cxx o3tl/qa/test-vector_pool.cxx -- cgit