diff options
| author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-09-23 02:36:34 +0000 |
|---|---|---|
| committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-09-23 02:36:34 +0000 |
| commit | 2fdd6488b59abc8f1da3d423d45044ffb82533cd (patch) | |
| tree | 17a3573bc82b532229f930f45caf02beb84bdead /libjava/classpath/gnu/java/beans/decoder/ArrayHandler.java | |
| parent | 6d51dde5dd855acc798372dab5e072014888647e (diff) | |
| download | ppe42-gcc-2fdd6488b59abc8f1da3d423d45044ffb82533cd.tar.gz ppe42-gcc-2fdd6488b59abc8f1da3d423d45044ffb82533cd.zip | |
PR c++/19407
* cp/cp-tree.h (ATTR_IS_DEPENDENT): New macro.
(MAYBE_TAGGED_TYPE_P): Remove.
* cp/pt.c (apply_late_template_attributes): Check ATTR_IS_DEPENDENT
instead of calling is_late_template_attribute again.
(tsubst_decl) [TYPE_DECL]: Just check if the name is the tag.
(tsubst): A typedef is a TYPE_NAME != TYPE_MAIN_DECL.
Don't crash on typedefs from non-template classes.
* cp/decl2.c (grokfield): Don't sorry about attrs on template parms.
(is_late_template_attribute): All attributes applied to template
parms or typename types are dependent. Static, take decl.
(splice_template_attributes): Pass decl through.
(save_template_attributes): Likewise.
* attribs.c (lookup_attribute_spec): Split out...
(decl_attributes): From here.
* tree.h: Declare it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128681 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/gnu/java/beans/decoder/ArrayHandler.java')
0 files changed, 0 insertions, 0 deletions

