summaryrefslogtreecommitdiff
path: root/gcc/cp/friend.c
diff options
context:
space:
mode:
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>2005-06-15 00:41:35 +0000
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>2005-06-15 00:41:35 +0000
commit653e540576c50568687d95e09f5f3322fc15e227 (patch)
treed8691b706a5d24462549fd36e73e1589e7ac65d9 /gcc/cp/friend.c
parenta91390d29db9af35dd45bd5b5ba4ed7ddfab93cd (diff)
downloadgcc-653e540576c50568687d95e09f5f3322fc15e227.tar.gz
Canonicalize whitespace.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100965 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/friend.c')
-rw-r--r--gcc/cp/friend.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/cp/friend.c b/gcc/cp/friend.c
index 346ff4c36d6..5086f63fa02 100644
--- a/gcc/cp/friend.c
+++ b/gcc/cp/friend.c
@@ -537,9 +537,9 @@ do_friend (tree ctype, tree declarator, tree decl,
else
{
/* We can't use pushdecl, as we might be in a template
- class specialization, and pushdecl will insert an
- unqualified friend decl into the template parameter
- scope, rather than the namespace containing it. */
+ class specialization, and pushdecl will insert an
+ unqualified friend decl into the template parameter
+ scope, rather than the namespace containing it. */
tree ns = decl_namespace_context (decl);
push_nested_namespace (ns);
@@ -551,13 +551,13 @@ do_friend (tree ctype, tree declarator, tree decl,
{
static int explained;
warning (0, "friend declaration %q#D declares a non-template "
- "function", decl);
+ "function", decl);
if (! explained)
{
warning (0, "(if this is not what you intended, make sure "
- "the function template has already been declared "
- "and add <> after the function name here) "
- "-Wno-non-template-friend disables this warning");
+ "the function template has already been declared "
+ "and add <> after the function name here) "
+ "-Wno-non-template-friend disables this warning");
explained = 1;
}
}