diff options
author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-08 18:46:20 +0000 |
---|---|---|
committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-08 18:46:20 +0000 |
commit | b1ea83f465e14deee3ee10aed15d9cb12f914484 (patch) | |
tree | 7e7a10f5801dccde975ad231bcedfa37dddce232 /gcc/cp/semantics.c | |
parent | b1762aa23a99a928306a7ec172f343ccfc71917c (diff) | |
download | gcc-b1ea83f465e14deee3ee10aed15d9cb12f914484.tar.gz |
PR c++/11786
* decl2.c (add_function): Do not complain about seeing the same
non-function twice.
* semantics.c (perform_koenig_lookup): Improve documentation.
PR c++/11786
* g++.dg/lookup/koenig2.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71213 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/semantics.c')
-rw-r--r-- | gcc/cp/semantics.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c index 8b765ef1697..e7392c03052 100644 --- a/gcc/cp/semantics.c +++ b/gcc/cp/semantics.c @@ -1534,8 +1534,9 @@ finish_stmt_expr (tree rtl_expr, bool has_no_scope) } /* Perform Koenig lookup. FN is the postfix-expression representing - the call; ARGS are the arguments to the call. Returns the - functions to be considered by overload resolution. */ + the function (or functions) to call; ARGS are the arguments to the + call. Returns the functions to be considered by overload + resolution. */ tree perform_koenig_lookup (tree fn, tree args) |