diff options
author | Pierre Muller <muller@sourceware.org> | 2009-10-06 23:27:05 +0000 |
---|---|---|
committer | Pierre Muller <muller@sourceware.org> | 2009-10-06 23:27:05 +0000 |
commit | 905e0470f48bf087826c6779f0140f148e03c13a (patch) | |
tree | 1ace0c1caa8c0d2a06841dad8bcb108bdd802e2c /gdb/eval.c | |
parent | 364c7fa5c98a7e2d75fe33ecb1ec4f7260849731 (diff) | |
download | gdb-905e0470f48bf087826c6779f0140f148e03c13a.zip gdb-905e0470f48bf087826c6779f0140f148e03c13a.tar.gz gdb-905e0470f48bf087826c6779f0140f148e03c13a.tar.bz2 |
ARI fix: OP eol rule.
* doublest.c (floatformat_from_length): Avoid operator at end of line.
* dwarf2-frame.c (dwarf2_build_frame_info): Idem.
* dwarf2read.c (read_array_order, dwarf_decode_macros): Idem.
* eval.c (evaluate_subexp_standard): Idem.
* event-loop.c (create_timer, handle_timer_event): Idem.
* expprint.c (print_subexp_standard): Idem.
* f-exp.y (variable): Idem.
* f-typeprint.c (f_print_type): Idem.
Diffstat (limited to 'gdb/eval.c')
-rw-r--r-- | gdb/eval.c | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -884,8 +884,8 @@ evaluate_subexp_standard (struct type *expect_type, LONGEST low_bound, high_bound; /* get targettype of elementtype */ - while (TYPE_CODE (check_type) == TYPE_CODE_RANGE || - TYPE_CODE (check_type) == TYPE_CODE_TYPEDEF) + while (TYPE_CODE (check_type) == TYPE_CODE_RANGE + || TYPE_CODE (check_type) == TYPE_CODE_TYPEDEF) check_type = TYPE_TARGET_TYPE (check_type); if (get_discrete_bounds (element_type, &low_bound, &high_bound) < 0) @@ -919,14 +919,14 @@ evaluate_subexp_standard (struct type *expect_type, range_low_type = TYPE_TARGET_TYPE (range_low_type); if (TYPE_CODE (range_high_type) == TYPE_CODE_RANGE) range_high_type = TYPE_TARGET_TYPE (range_high_type); - if ((TYPE_CODE (range_low_type) != TYPE_CODE (range_high_type)) || - (TYPE_CODE (range_low_type) == TYPE_CODE_ENUM && - (range_low_type != range_high_type))) + if ((TYPE_CODE (range_low_type) != TYPE_CODE (range_high_type)) + || (TYPE_CODE (range_low_type) == TYPE_CODE_ENUM + && (range_low_type != range_high_type))) /* different element modes */ error (_("POWERSET tuple elements of different mode")); - if ((TYPE_CODE (check_type) != TYPE_CODE (range_low_type)) || - (TYPE_CODE (check_type) == TYPE_CODE_ENUM && - range_low_type != check_type)) + if ((TYPE_CODE (check_type) != TYPE_CODE (range_low_type)) + || (TYPE_CODE (check_type) == TYPE_CODE_ENUM + && range_low_type != check_type)) error (_("incompatible POWERSET tuple elements")); if (range_low > range_high) { @@ -1662,8 +1662,8 @@ evaluate_subexp_standard (struct type *expect_type, struct value_print_options opts; get_user_print_options (&opts); - if (opts.objectprint && TYPE_TARGET_TYPE(type) && - (TYPE_CODE (TYPE_TARGET_TYPE (type)) == TYPE_CODE_CLASS)) + if (opts.objectprint && TYPE_TARGET_TYPE(type) + && (TYPE_CODE (TYPE_TARGET_TYPE (type)) == TYPE_CODE_CLASS)) { real_type = value_rtti_target_type (arg1, &full, &top, &using_enc); if (real_type) |