[DynInst_API:] [dyninst/dyninst] 8926e8: Make Dyninst::Register constructors noexcept (#2140)


Date: Tue, 03 Feb 2026 16:20:02 -0800
From: Tim Haines <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] 8926e8: Make Dyninst::Register constructors noexcept (#2140)
  Branch: refs/heads/master
  Home:   https://github.com/dyninst/dyninst
  Commit: 8926e8e3b30aadaab90eea1bbea03024c7f7266c
      https://github.com/dyninst/dyninst/commit/8926e8e3b30aadaab90eea1bbea03024c7f7266c
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2026-02-04 (Wed, 04 Feb 2026)

  Changed paths:
    M common/src/dyn_register.h

  Log Message:
  -----------
  Make Dyninst::Register constructors noexcept (#2140)

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
[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] 8926e8: Make Dyninst::Register constructors noexcept (#2140), Tim Haines <=