re PR c++/19966 (Misleading message "must take exactly one argument")
authorPaolo Carlini <pcarlini@suse.de>
Thu, 17 Mar 2005 14:37:04 +0000 (14:37 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Thu, 17 Mar 2005 14:37:04 +0000 (14:37 +0000)
commitf2a79152758d093db319e0e87acee11f87796ce6
tree698a20e4c2288d95d8b23329b6e8d3f3b13ced8b
parent3bd62c453dbd6b0b17a431d9f1231017c25ca3a3
re PR c++/19966 (Misleading message "must take exactly one argument")

2005-03-17  Paolo Carlini  <pcarlini@suse.de>

PR c++/19966
* cp-tree.h (grok_op_properties): Change return type to void.
* decl.c (grok_op_properties): Return early - don't check the
arity - in case of a static member or an operator that cannot
be non-member; tidy a bit.

From-SVN: r96609
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c