Implement unary increment and decrement operations
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:21 +0000 (07:28 -0700)
commit6d89e2962a8cc245b8364e1968396873bd0bb9b1
tree887a2ef7f58f1b8cf0872dfa24ae6f455c22fa70
parent9307d17b7a97bd49baf0d877785c43cf203b7cee
Implement unary increment and decrement operations

This implements the unary increment and decrement operations, "++" and
"--".

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

* expop.h (unop_incr_operation): New template.
(preinc_operation, predec_operation, postinc_operation)
(postdec_operation): New typedefs.
* eval.c (eval_op_preinc, eval_op_predec, eval_op_postinc)
(eval_op_postdec): No longer static.
gdb/ChangeLog
gdb/eval.c
gdb/expop.h
This page took 0.02485 seconds and 4 git commands to generate.