Split out eval_op_alignof
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:03 +0000 (07:28 -0700)
commitacee94686be0601a096c5d6e09c531c41318a429
treec6947f4ce14aee132cca3c68442e13228f3cad44
parent786f70ee4d370b3c308ef574bdeda06c6393db06
Split out eval_op_alignof

This splits UNOP_ALIGNOF into a new function for future use.

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

* eval.c (eval_op_alignof): New function.
(evaluate_subexp_standard): Use it.
gdb/ChangeLog
gdb/eval.c