[all-commits] [llvm/llvm-project] 6ac9cb: [libc++][P1679] add string contains

Wim Leflere via All-commits all-commits at lists.llvm.org
Tue Jan 19 11:40:12 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6ac9cb2a7c6c19797fc778f3d441a6fb7b69793c
      https://github.com/llvm/llvm-project/commit/6ac9cb2a7c6c19797fc778f3d441a6fb7b69793c
  Author: Wim Leflere <wim.leflere at gmail.com>
  Date:   2021-01-19 (Tue, 19 Jan 2021)

  Changed paths:
    M libcxx/docs/FeatureTestMacroTable.rst
    M libcxx/include/string
    M libcxx/include/string_view
    M libcxx/include/version
    M libcxx/test/std/language.support/support.limits/support.limits.general/string.version.pass.cpp
    M libcxx/test/std/language.support/support.limits/support.limits.general/string_view.version.pass.cpp
    M libcxx/test/std/language.support/support.limits/support.limits.general/version.version.pass.cpp
    A libcxx/test/std/strings/basic.string/string.contains/contains.char.pass.cpp
    A libcxx/test/std/strings/basic.string/string.contains/contains.ptr.pass.cpp
    A libcxx/test/std/strings/basic.string/string.contains/contains.string_view.pass.cpp
    A libcxx/test/std/strings/string.view/string.view.template/contains.char.pass.cpp
    A libcxx/test/std/strings/string.view/string.view.template/contains.ptr.pass.cpp
    A libcxx/test/std/strings/string.view/string.view.template/contains.string_view.pass.cpp
    M libcxx/utils/generate_feature_test_macro_components.py

  Log Message:
  -----------
  [libc++][P1679] add string contains

C++23 string contains implementation and tests

Paper: https://wg21.link/P1679R3
Standard (string): https://eel.is/c++draft/string.contains
Standard (string_view): https://eel.is/c++draft/string.view.ops#lib:contains,basic_string_view

Differential Revision: https://reviews.llvm.org/D93912




More information about the All-commits mailing list