Branch: refs/heads/thaines/register_ctor_noexcept
  Home:   https://github.com/dyninst/dyninst
  Commit: e3ea4f11fffd378eaa4e748fd665c270aa42ec6b
      
https://github.com/dyninst/dyninst/commit/e3ea4f11fffd378eaa4e748fd665c270aa42ec6b
  Author: Tim Haines <[email protected]>
  Date:   2026-02-03 (Tue, 03 Feb 2026)

  Changed paths:
    M common/src/dyn_register.h

  Log Message:
  -----------
  Make Dyninst::Register constructors noexcept

For std::vector<T>::emplace_back, the standard notes

  If the move constructor of T is not noexcept and is not CopyInsertable
  into *this, vector will use the throwing move constructor.

gcc-15 and newer warn via '-Werror=noexcept' when the move_if_noexcept
condition fails and recommends making the ctor noexcept. This is not a
requirement, but the CI jobs build with -Werror.



To unsubscribe from these emails, change your notification settings at 
https://github.com/dyninst/dyninst/settings/notifications
_______________________________________________
Dyninst-api mailing list
[email protected]
https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api

Reply via email to