[all-commits] [llvm/llvm-project] 086f9c: [libc++][tests] Add missing strong exception guara...

ovatonne via All-commits all-commits at lists.llvm.org
Wed Jun 3 16:48:19 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 086f9c1e6ea3ed30345f685d9055f57f044834a7
      https://github.com/llvm/llvm-project/commit/086f9c1e6ea3ed30345f685d9055f57f044834a7
  Author: ovatonne <ovatonne at gmail.com>
  Date:   2026-06-04 (Thu, 04 Jun 2026)

  Changed paths:
    M libcxx/test/std/containers/exception_safety_helpers.h
    M libcxx/test/std/containers/sequences/forwardlist/exception_safety.pass.cpp

  Log Message:
  -----------
  [libc++][tests] Add missing strong exception guarantee test coverage in forward_list (#200666)

Adds missing test coverage for exception guarantees in forward_list.

- Strong exception guarantee for forward_list::push_front and
forward_list::emplace_front.
- Exception guarantee for constructor, operator= and assign overloads
taking an initializer_list.
- Add move and inplace construction as throwing functions in test
helpers.
- Add tests throwing upon moving or constructing elements inplace for
relevant overloads.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list