[DynInst_API:] [dyninst/dyninst] af3e53: Make Instruction::CFT constructor noexcept (#2200)


Date: Wed, 08 Apr 2026 10:30:46 -0700
From: Tim Haines <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] af3e53: Make Instruction::CFT constructor noexcept (#2200)
  Branch: refs/heads/master
  Home:   https://github.com/dyninst/dyninst
  Commit: af3e532720432b43615348c4503395173b714f7d
      https://github.com/dyninst/dyninst/commit/af3e532720432b43615348c4503395173b714f7d
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2026-04-08 (Wed, 08 Apr 2026)

  Changed paths:
    M instructionAPI/h/Instruction.h

  Log Message:
  -----------
  Make Instruction::CFT constructor noexcept (#2200)

For std::vector::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 in c++2X mode 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] af3e53: Make Instruction::CFT constructor noexcept (#2200), Tim Haines <=