diff options
author | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2009-07-07 21:52:01 +0000 |
---|---|---|
committer | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2009-07-07 21:52:01 +0000 |
commit | 5e278028ed86b38bc0b649aa6e351d35c6ad539c (patch) | |
tree | e14c2f08a9711f5cd94a281bba187340d63b46b2 /gcc/tree.h | |
parent | ed3346c20d1e764dcd98cd84e47d8f7a7ae72fcb (diff) | |
download | gcc-5e278028ed86b38bc0b649aa6e351d35c6ad539c.zip gcc-5e278028ed86b38bc0b649aa6e351d35c6ad539c.tar.gz gcc-5e278028ed86b38bc0b649aa6e351d35c6ad539c.tar.bz2 |
tree.c (set_expr_locus): Remove.
2009-07-07 Manuel López-Ibáñez <manu@gcc.gnu.org>
* tree.c (set_expr_locus): Remove.
* tree.h (EXPR_LOCUS,SET_EXPR_LOCUS,set_expr_locus): Remove.
* c-typeck.c (c_finish_stmt_expr): Replace EXPR_LOCUS by
EXPR_LOCATION.
* gimplify.c (internal_get_tmp_var): Likewise.
(gimplify_call_expr): Likewise.
(gimplify_one_sizepos): Likewise.
objc/
* objc-act.c (next_sjlj_build_catch_list): Replace EXPR_LOCUS by
EXPR_LOCATION.
cp/
* semantics.c (finalize_nrv_r): Replace EXPR_LOCUS by
EXPR_LOCATION.
ada/
* gcc-interface/trans.c (gnat_gimplify_expr): Replace EXPR_LOCUS by
EXPR_LOCATION.
From-SVN: r149350
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -1540,10 +1540,6 @@ struct GTY(()) tree_constructor { #define EXPR_LOCATION(NODE) (EXPR_P ((NODE)) ? (NODE)->exp.locus : UNKNOWN_LOCATION) #define SET_EXPR_LOCATION(NODE, LOCUS) EXPR_CHECK ((NODE))->exp.locus = (LOCUS) #define EXPR_HAS_LOCATION(NODE) (EXPR_LOCATION (NODE) != UNKNOWN_LOCATION) -#define EXPR_LOCUS(NODE) (EXPR_P (NODE) \ - ? CONST_CAST (source_location *, &(NODE)->exp.locus) \ - : (source_location *) NULL) -#define SET_EXPR_LOCUS(NODE, FROM) set_expr_locus ((NODE), (FROM)) #define EXPR_FILENAME(NODE) LOCATION_FILE (EXPR_CHECK ((NODE))->exp.locus) #define EXPR_LINENO(NODE) LOCATION_LINE (EXPR_CHECK (NODE)->exp.locus) @@ -4858,8 +4854,6 @@ extern HOST_WIDEST_INT widest_int_cst_value (const_tree); extern bool fields_compatible_p (const_tree, const_tree); extern tree find_compatible_field (tree, tree); -extern void set_expr_locus (tree, source_location *); - extern tree *tree_block (tree); extern location_t *block_nonartificial_location (tree); extern location_t tree_nonartificial_location (tree); |