aboutsummaryrefslogtreecommitdiff
path: root/gcc/final.c
diff options
context:
space:
mode:
authorJason Merrill <jason@yorick.cygnus.com>1998-12-04 11:14:21 +0000
committerJason Merrill <jason@gcc.gnu.org>1998-12-04 06:14:21 -0500
commitf3400fe27cc892535caa8dd17a62ecaf49e24646 (patch)
treedeef17e4d8047bf5208c860b90ec9e7d611781e2 /gcc/final.c
parent2ec10ea98a951e150ac0a9e0a76bbdd5c0b3ce70 (diff)
downloadgcc-f3400fe27cc892535caa8dd17a62ecaf49e24646.zip
gcc-f3400fe27cc892535caa8dd17a62ecaf49e24646.tar.gz
gcc-f3400fe27cc892535caa8dd17a62ecaf49e24646.tar.bz2
pt.c (check_template_shadow): New fn.
* pt.c (check_template_shadow): New fn. * decl2.c (grokfield): Use it. * decl.c (pushdecl): Likewise. (pushdecl_class_level): Likewise. (start_method): Likewise. (xref_tag): Don't try to use 't' if we're defining. Fixes Sec14/7/C14387.cm. * call.c (check_dtor_name): Just return an error_mark_node. * pt.c (lookup_template_class): Complain about using non-template here. * parse.y (apparent_template_type): Not here. Fixes Sec14/C14339.cm. * pt.c (check_explicit_specialization): Complain about specialization with C linkage. Fixes Sec14/C14340.cm. * lang-options.h: Add -f{no-,}implicit-inline-templates. * pt.c (convert_nontype_argument): Don't assume that any integer argument is intended to be a constant-expression. Fixes Sec14/7/P14245.C. From-SVN: r24086
Diffstat (limited to 'gcc/final.c')
0 files changed, 0 insertions, 0 deletions