Introduce unop_alignof_operation
authorTom Tromey <tom@tromey.com>
Mon, 8 Mar 2021 14:27:57 +0000 (07:27 -0700)
committerTom Tromey <tom@tromey.com>
Mon, 8 Mar 2021 14:28:22 +0000 (07:28 -0700)
commitae4bb61e199c90c71e3482169233a0f40f446484
tree78966cfc258cf9c7b79bbd612abc75dab2578d9a
parent85d23bda83101f4c278337428dc15eda0eecc95b
Introduce unop_alignof_operation

This adds class unop_alignof_operation, which implements UNOP_ALIGNOF.

gdb/ChangeLog
2021-03-08  Tom Tromey  <tom@tromey.com>

* expop.h (class unop_alignof_operation): New.
* eval.c (eval_op_alignof): No longer static.
gdb/ChangeLog
gdb/eval.c
gdb/expop.h