Fix small typos in the coding rule enforcement warnings.
/cp 2015-09-23 Ville Voutilainen <ville.voutilainen@gmail.com> Fix small typos in the coding rule enforcement warnings. * parser.c (cp_parser_namespace_definition): Replace 'namepace' with 'namespace'. /testsuite 2015-09-23 Ville Voutilainen <ville.voutilainen@gmail.com> Fix small typos in the coding rule enforcement warnings. * g++.dg/diagnostic/disable.C: Replace 'namepace' with 'namespace'. From-SVN: r228061
This commit is contained in:
parent
46efdbbc01
commit
99474f812e
4 changed files with 14 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2015-09-23 Ville Voutilainen <ville.voutilainen@gmail.com>
|
||||
|
||||
Fix small typos in the coding rule enforcement warnings.
|
||||
* parser.c (cp_parser_namespace_definition): Replace 'namepace'
|
||||
with 'namespace'.
|
||||
|
||||
2015-09-22 Nathan Sidwell <nathan@codesourcery.com>
|
||||
|
||||
* decl.c (xref_basetypes): Check virtual and/or multiple
|
||||
|
|
|
@ -17043,7 +17043,7 @@ cp_parser_namespace_definition (cp_parser* parser)
|
|||
|
||||
has_visibility = handle_namespace_attrs (current_namespace, attribs);
|
||||
|
||||
warning (OPT_Wnamespaces, "namepace %qD entered", current_namespace);
|
||||
warning (OPT_Wnamespaces, "namespace %qD entered", current_namespace);
|
||||
|
||||
/* Parse the body of the namespace. */
|
||||
cp_parser_namespace_body (parser);
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
2015-09-23 Ville Voutilainen <ville.voutilainen@gmail.com>
|
||||
|
||||
Fix small typos in the coding rule enforcement warnings.
|
||||
* g++.dg/diagnostic/disable.C: Replace 'namepace'
|
||||
with 'namespace'.
|
||||
|
||||
2015-09-23 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR middle-end/67662
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#include <iostream>
|
||||
#include <algorithm>
|
||||
|
||||
namespace foo { } // { dg-warning "namepace" }
|
||||
namespace foo { } // { dg-warning "namespace" }
|
||||
|
||||
template <typename X> X Foo (); // { dg-warning "template" }
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue