[all-commits] [llvm/llvm-project] c77cdb: Add `std::basic_string` test cases (#74830)

Tacet via All-commits all-commits at lists.llvm.org
Tue Dec 12 12:42:14 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c77cdbac9b121611121adf5806a99aff4812a40c
      https://github.com/llvm/llvm-project/commit/c77cdbac9b121611121adf5806a99aff4812a40c
  Author: Tacet <advenam.tacet at trailofbits.com>
  Date:   2023-12-12 (Tue, 12 Dec 2023)

  Changed paths:
    M libcxx/test/std/strings/basic.string/string.capacity/reserve.pass.cpp
    M libcxx/test/std/strings/basic.string/string.capacity/reserve_size.pass.cpp
    M libcxx/test/std/strings/basic.string/string.capacity/shrink_to_fit.pass.cpp
    M libcxx/test/std/strings/basic.string/string.cons/copy_assignment.pass.cpp
    M libcxx/test/std/strings/basic.string/string.cons/move_assignment.pass.cpp
    M libcxx/test/std/strings/basic.string/string.cons/pointer_assignment.pass.cpp
    M libcxx/test/std/strings/basic.string/string.cons/string_view_assignment.pass.cpp
    M libcxx/test/std/strings/basic.string/string.modifiers/string_append/T_size_size.pass.cpp
    M libcxx/test/std/strings/basic.string/string.modifiers/string_append/push_back.pass.cpp
    M libcxx/test/std/strings/basic.string/string.modifiers/string_append/size_char.pass.cpp
    M libcxx/test/std/strings/basic.string/string.modifiers/string_append/string.pass.cpp
    M libcxx/test/std/strings/basic.string/string.modifiers/string_append/string_size_size.pass.cpp
    M libcxx/test/std/strings/basic.string/string.modifiers/string_append/string_view.pass.cpp
    M libcxx/test/std/strings/basic.string/string.modifiers/string_assign/pointer.pass.cpp
    M libcxx/test/std/strings/basic.string/string.modifiers/string_assign/pointer_size.pass.cpp
    M libcxx/test/std/strings/basic.string/string.modifiers/string_copy/copy.pass.cpp
    M libcxx/test/std/strings/basic.string/string.modifiers/string_insert/iter_char.pass.cpp
    M libcxx/test/std/strings/basic.string/string.modifiers/string_op_plus_equal/char.pass.cpp
    M libcxx/test/std/strings/basic.string/string.modifiers/string_op_plus_equal/pointer.pass.cpp
    M libcxx/test/std/strings/basic.string/string.modifiers/string_op_plus_equal/string.pass.cpp
    M libcxx/test/std/strings/basic.string/string.nonmembers/string.special/swap.pass.cpp
    M libcxx/test/std/strings/basic.string/string.ops/string_substr/substr.pass.cpp

  Log Message:
  -----------
  Add `std::basic_string` test cases (#74830)

Extend `std::basic_string` tests to cover more buffer situations and
length in general, particularly non-SSO cases after SSO test cases
(changing buffers). This commit is a side effect of working on tests for
ASan annotations.

Related PR: https://github.com/llvm/llvm-project/pull/72677




More information about the All-commits mailing list