diff options
author | Trevor Saunders <tbsaunde+gcc@tbsaunde.org> | 2017-07-29 01:38:37 +0000 |
---|---|---|
committer | Trevor Saunders <tbsaunde@gcc.gnu.org> | 2017-07-29 01:38:37 +0000 |
commit | 31b8d81fa67e6bb54e9c5bc40b017d06c4b1bfa5 (patch) | |
tree | 2f3acaed1a4e1efdf6498dcfacf2e61e7d7d90e2 | |
parent | 9e2d7f46043ddf1353694a9f7c126a8aff4d0187 (diff) | |
download | gcc-31b8d81fa67e6bb54e9c5bc40b017d06c4b1bfa5.zip gcc-31b8d81fa67e6bb54e9c5bc40b017d06c4b1bfa5.tar.gz gcc-31b8d81fa67e6bb54e9c5bc40b017d06c4b1bfa5.tar.bz2 |
use c++ instead of build_decl_stat
gcc/ChangeLog:
2017-07-28 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* tree.c (build_decl_stat): Remove _stat from name.
* tree.h (build_decl): Remove macro.
From-SVN: r250701
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/tree.c | 2 | ||||
-rw-r--r-- | gcc/tree.h | 5 |
3 files changed, 8 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6423ec5..21d46e0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2017-07-28 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> + * tree.c (build_decl_stat): Remove _stat from name. + * tree.h (build_decl): Remove macro. + +2017-07-28 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> + * gimple.c (gimple_build_with_ops_stat): Adjust. (gimple_alloc_stat): Remove _stat from name. * gimple.h (gimple_alloc): Remove macro. @@ -4740,7 +4740,7 @@ build_nt_call_vec (tree fn, vec<tree, va_gc> *args) Other slots are initialized to 0 or null pointers. */ tree -build_decl_stat (location_t loc, enum tree_code code, tree name, +build_decl (location_t loc, enum tree_code code, tree name, tree type MEM_STAT_DECL) { tree t; @@ -4031,10 +4031,9 @@ extern tree build_tree_list_stat (tree, tree MEM_STAT_DECL); #define build_tree_list(t, q) build_tree_list_stat (t, q MEM_STAT_INFO) extern tree build_tree_list_vec_stat (const vec<tree, va_gc> *MEM_STAT_DECL); #define build_tree_list_vec(v) build_tree_list_vec_stat (v MEM_STAT_INFO) -extern tree build_decl_stat (location_t, enum tree_code, - tree, tree MEM_STAT_DECL); +extern tree build_decl (location_t, enum tree_code, + tree, tree CXX_MEM_STAT_INFO); extern tree build_fn_decl (const char *, tree); -#define build_decl(l,c,t,q) build_decl_stat (l, c, t, q MEM_STAT_INFO) extern tree build_translation_unit_decl (tree); extern tree build_block (tree, tree, tree, tree); extern tree build_empty_stmt (location_t); |