diff options
author | Andrew Macleod <amacleod@redhat.com> | 2015-12-17 21:34:58 +0000 |
---|---|---|
committer | Andrew Macleod <amacleod@redhat.com> | 2015-12-17 21:34:58 +0000 |
commit | b1fdbd6c68ebdbbbbd4261753b710334332a68ec (patch) | |
tree | 6dc606e405379b9d532117d7dbbf679409426b69 /gcc/langhooks.h | |
parent | 3699df9669b9b0bfb68ba402fa3623ad2db9eb49 (diff) |
The rest. ttype-2015
Allow ttype to be printed via %T in diagnostics
Changes a typevec into C/C++ front end to ttype*. removes some TTYPE_PTRs
type_promotes_to langhook conversion.
ttype_p and Adjust TTYPE macros in tree.h.. locations and such. basic cleanup
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/ttype-2015@231789 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/langhooks.h')
-rw-r--r-- | gcc/langhooks.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/langhooks.h b/gcc/langhooks.h index 912efc25410..dd7ba21ac17 100644 --- a/gcc/langhooks.h +++ b/gcc/langhooks.h @@ -86,7 +86,7 @@ struct lang_hooks_for_types arguments and return the new type. Return the same type if no change. Required by any language that supports variadic arguments. The default hook dies. */ - tree (*type_promotes_to) (tree); + ttype *(*type_promotes_to) (ttype_p); /* Register TYPE as a builtin type with the indicated NAME. The TYPE is placed in the outermost lexical scope. The semantics @@ -136,7 +136,7 @@ struct lang_hooks_for_types we stripped off while looking for the inner type. Similarly for return values from functions. The argument TYPE is the top of the chain, and BOTTOM is the new type which we will point to. */ - ttype *(*reconstruct_complex_type) (tree, tree); + ttype *(*reconstruct_complex_type) (ttype_p, ttype_p); /* Returns the tree that represents the underlying data type used to implement the enumeration. The default implementation will just use |