aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppbuiltin.cc
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2023-07-03 16:32:37 +0200
committerUros Bizjak <ubizjak@gmail.com>2023-07-03 16:33:11 +0200
commit9a856f67ee2f13ea1b17ca79e71b1d10ca03afa4 (patch)
tree1e8da0b3262a87691ae824280086ca0effe1fb54 /gcc/cppbuiltin.cc
parentb8806f6ffbe72ed8fb7aba3b3a9196ec4d13e614 (diff)
downloadgcc-9a856f67ee2f13ea1b17ca79e71b1d10ca03afa4.zip
gcc-9a856f67ee2f13ea1b17ca79e71b1d10ca03afa4.tar.gz
gcc-9a856f67ee2f13ea1b17ca79e71b1d10ca03afa4.tar.bz2
tree+ggc: Change return type of predicate functions from int to bool
Also change internal variable from int to bool. gcc/ChangeLog: * tree.h (tree_int_cst_equal): Change return type from int to bool. (operand_equal_for_phi_arg_p): Ditto. (tree_map_base_marked_p): Ditto. * tree.cc (contains_placeholder_p): Update function body for bool return type. (type_cache_hasher::equal): Ditto. (tree_map_base_hash): Change return type from int to void and adjust function body accordingly. (tree_int_cst_equal): Ditto. (operand_equal_for_phi_arg_p): Ditto. (get_narrower): Change "first" variable to bool. (cl_option_hasher::equal): Update function body for bool return type. * ggc.h (ggc_set_mark): Change return type from int to bool. (ggc_marked_p): Ditto. * ggc-page.cc (gt_ggc_mx): Change return type from int to void and adjust function body accordingly. (ggc_set_mark): Ditto.
Diffstat (limited to 'gcc/cppbuiltin.cc')
0 files changed, 0 insertions, 0 deletions