aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2015-09-22 15:34:49 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2015-09-22 15:34:49 +0000
commit6b333269be81396c4ed6b700bf8bd3e0adeb50dc (patch)
treebcb65e277ee9e4c184bb3b1253a5dc833a787791 /gcc/function.c
parenta75f15742ab04d48fb599c9b6523ffbe8f5d837c (diff)
downloadgcc-6b333269be81396c4ed6b700bf8bd3e0adeb50dc.zip
gcc-6b333269be81396c4ed6b700bf8bd3e0adeb50dc.tar.gz
gcc-6b333269be81396c4ed6b700bf8bd3e0adeb50dc.tar.bz2
c.opt (Wmultiple-inheritance, [...]): New C++ warnings.
c-family/ * c.opt (Wmultiple-inheritance, Wvirtual-inheritance, Wtemplates, Wnamespaces): New C++ warnings. cp/ * decl.c (xref_basetypes): Check virtual and/or multiple inheritance warning. * parser.c (cp_parser_namespace_definition): Check namespaces warning. * pt.c (push_template_decl_real): Check templates warning. * doc/invoke.texi (-Wmultiple-inheritance, -Wvirtual-inheritance, -Wtemplates, -Wnamespaces): Document. testsuite/ * g++.dg/diagostic/disable.C: New. From-SVN: r228019
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions