Branch: refs/heads/master
Home: https://github.com/dyninst/dyninst
Commit: 88a774dfa36208bc297b65dc18fdfe4e2e66140c
https://github.com/dyninst/dyninst/commit/88a774dfa36208bc297b65dc18fdfe4e2e66140c
Author: kupsch <kupsch@xxxxxxxxxxx>
Date: 2023-07-25 (Tue, 25 Jul 2023)
Changed paths:
M instructionAPI/h/Operand.h
Log Message:
-----------
modernize InstructionAPI::Operand class (#1456)
* modernize InstructionAPI::Operand class
- eliminate all but one of the constructors by using default parameters
- remove destructor (unnecessarily virtual, and reset a member
shared_ptr), copy ctor, and copy assignment declarations to allow the
compiler to generate default versions that are equivalent or better
than the hand written versions
- add default member initializers for all members
- make Operand constructor explicit
|