� * cp-tree.h (TYPE_FOR_JAVA): New macro. * decl.c, cp-tree.h (java_byte_type_node, java_short_type_node, java_int_type_node, java_long_type_node, java_float_type_node, java_double_type_node, java_char_type_node, java_boolean_type_node): New "primitive" types, with predefined names __java_byte etc. (record_builtin_java_type): New function. (init_decl_processing): Make Java types with record_builtin_java_type. (pushtag, grokdeclarator): Set TYPE_FOR_JAVA if in extern "JAVA". (xref_baseypes): If base class was TYPE_FOR_JAVA, so is this class. (grokfndecl): Call check_java_method for Java classes. * method.c (is_java_type): Removed. Replaced with TYPE_FOR_JAVA. (process_overload_item): Match types against specific java_XX_type_node types, rather than using is_java_type. * class.c (finish_struct_1): Don't add default copy constructor or operator= if TYPE_FOR_JAVA. (pop_lang_conext): Restore strict_prototyp proper if Java. * decl2.c (acceptable_java_type, check_java_method): New functions. * pt.c (instantiate_class_template): Copy TYPE_FOR_JAVA from pattern. (tsubst): Move common statement after if statement. * typeck.c (comptypes): If strict, TYPE_FOR_JAVA must match. From-SVN: r20176
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
inc | Loading commit data... | |
ChangeLog | Loading commit data... | |
ChangeLog.1 | Loading commit data... | |
ChangeLog.egcs | Loading commit data... | |
Make-lang.in | Loading commit data... | |
Makefile.in | Loading commit data... | |
NEWS | Loading commit data... | |
call.c | Loading commit data... | |
class.c | Loading commit data... | |
config-lang.in | Loading commit data... | |
cp-tree.def | Loading commit data... | |
cp-tree.h | Loading commit data... | |
cvt.c | Loading commit data... | |
decl.c | Loading commit data... | |
decl.h | Loading commit data... | |
decl2.c | Loading commit data... | |
errfn.c | Loading commit data... | |
error.c | Loading commit data... | |
except.c | Loading commit data... | |
exception.cc | Loading commit data... | |
expr.c | Loading commit data... | |
friend.c | Loading commit data... | |
g++.1 | Loading commit data... | |
g++FAQ.texi | Loading commit data... | |
g++spec.c | Loading commit data... | |
gxx.gperf | Loading commit data... | |
gxxint.texi | Loading commit data... | |
hash.h | Loading commit data... | |
init.c | Loading commit data... | |
input.c | Loading commit data... | |
lang-options.h | Loading commit data... | |
lang-specs.h | Loading commit data... | |
lex.c | Loading commit data... | |
lex.h | Loading commit data... | |
method.c | Loading commit data... | |
mpw-config.in | Loading commit data... | |
mpw-make.sed | Loading commit data... | |
new.cc | Loading commit data... | |
new1.cc | Loading commit data... | |
new2.cc | Loading commit data... | |
parse.c | Loading commit data... | |
parse.h | Loading commit data... | |
parse.y | Loading commit data... | |
pt.c | Loading commit data... | |
ptree.c | Loading commit data... | |
repo.c | Loading commit data... | |
rtti.c | Loading commit data... | |
search.c | Loading commit data... | |
semantics.c | Loading commit data... | |
sig.c | Loading commit data... | |
spew.c | Loading commit data... | |
tinfo.cc | Loading commit data... | |
tinfo.h | Loading commit data... | |
tinfo2.cc | Loading commit data... | |
tree.c | Loading commit data... | |
typeck.c | Loading commit data... | |
typeck2.c | Loading commit data... | |
xref.c | Loading commit data... |