OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gcc/ChangeLog:
[pf3gnuchains/gcc-fork.git]
/
gcc
/
langhooks.h
diff --git
a/gcc/langhooks.h
b/gcc/langhooks.h
index
0b97f26
..
bbbcc68
100644
(file)
--- a/
gcc/langhooks.h
+++ b/
gcc/langhooks.h
@@
-33,6
+33,9
@@
struct array_descr_info;
/* A print hook for print_tree (). */
typedef void (*lang_print_tree_hook) (FILE *, tree, int indent);
/* A print hook for print_tree (). */
typedef void (*lang_print_tree_hook) (FILE *, tree, int indent);
+enum classify_record
+ { RECORD_IS_STRUCT, RECORD_IS_CLASS, RECORD_IS_INTERFACE };
+
/* The following hooks are documented in langhooks.c. Must not be
NULL. */
/* The following hooks are documented in langhooks.c. Must not be
NULL. */
@@
-91,6
+94,11
@@
struct lang_hooks_for_types
language-specific processing is required. */
tree (*make_type) (enum tree_code);
language-specific processing is required. */
tree (*make_type) (enum tree_code);
+ /* Return what kind of RECORD_TYPE this is, mainly for purposes of
+ debug information. If not defined, record types are assumed to
+ be structures. */
+ enum classify_record (*classify_record) (tree);
+
/* Given MODE and UNSIGNEDP, return a suitable type-tree with that
mode. */
tree (*type_for_mode) (enum machine_mode, int);
/* Given MODE and UNSIGNEDP, return a suitable type-tree with that
mode. */
tree (*type_for_mode) (enum machine_mode, int);