projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a295fa9
)
* decl.c: Revert unwanted commit.
author
Uros Bizjak
<uros@gcc.gnu.org>
Fri, 25 May 2012 15:09:49 +0000
(17:09 +0200)
committer
Uros Bizjak
<uros@gcc.gnu.org>
Fri, 25 May 2012 15:09:49 +0000
(17:09 +0200)
From-SVN: r187886
gcc/cp/decl.c
patch
|
blob
|
history
diff --git
a/gcc/cp/decl.c
b/gcc/cp/decl.c
index 14a6a40d6cee3d1fc0a176a1179177229216a558..d883da6b6406a84fc85990ef784f5ea63995cd92 100644
(file)
--- a/
gcc/cp/decl.c
+++ b/
gcc/cp/decl.c
@@
-9803,8
+9803,7
@@
grokdeclarator (const cp_declarator *declarator,
clones. */
DECL_ABSTRACT (decl) = 1;
}
- else if (current_class_type
- && constructor_name_p (unqualified_id, current_class_type))
+ else if (constructor_name_p (unqualified_id, current_class_type))
permerror (input_location, "ISO C++ forbids nested type %qD with same name "
"as enclosing class",
unqualified_id);