binutils-gdb/gdb/testsuite/gdb.cp
Sami Wagiaalla 7322dca9c1 Add ADL support
2010-05-07  Sami Wagiaalla  <swagiaal@redhat.com>

	PR C++/7943:
	* valops.c (find_overload_match): Handle fsym == NULL case.
	Add int no_adl argument.
	(find_oload_champ_namespace_loop): Call make_symbol_overload_list_adl
	when appropriate.
	Add int no_adl argument.
	(find_oload_champ_namespace): 	Add int no_adl argument.
	* parse.c (operator_length_standard): Return length for OP_ADL_FUNC
	expression.
	* expprint.c (op_name_standard): Added string for OP_ADL_FUNC case.
	* eval.c (evaluate_subexp_standard): Added OP_ADL_FUNC case.
	Evaluate arguments and use them to perform ADL lookup.
	Pass no_adl argument to find_overload_match.
	Disable adl lookup when evaluating a fully qualified OP_FUNCALL.
	* cp-support.h: Added prototype for
	make_symbol_overload_list_namespace.
	* cp-support.c (make_symbol_overload_list_namespace): New function.
	(make_symbol_overload_list_adl_namespace): New function.
	(make_symbol_overload_list_adl): New function.
	(make_symbol_overload_list_using): Moved code to add function to
	overload set to make_symbol_overload_list_namespace.
	* c-exp.y: create UNKNOWN_CPP_NAME token.
	Add parse rule for ADL functions.
	(classify_name): Recognize an UNKNOWN_CPP_NAME.

2010-05-07  Sami Wagiaalla  <swagiaal@redhat.com>

	* gdb.cp/koenig.exp: New test.
	* gdb.cp/koenig.cc: New test program.
2010-05-07 14:46:28 +00:00
..
abstract-origin.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
abstract-origin.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
ambiguous.cc
ambiguous.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
annota2.cc
annota2.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
annota3.cc
annota3.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
anon-union.cc
anon-union.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
arg-reference.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
arg-reference.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
bool.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
bool.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
breakpoint.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
breakpoint.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
bs15503.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
bs15503.exp gdb/testsuite/ 2010-03-12 19:17:01 +00:00
call-c-1.c Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
call-c.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
call-c.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
casts.cc gdb 2010-01-18 20:54:35 +00:00
casts.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
class2.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
class2.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
classes.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
classes.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
cp-relocate.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
cp-relocate.exp * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods. 2010-03-09 18:08:05 +00:00
cpcompletion.exp gdb/testsuite/ 2010-02-16 20:23:43 +00:00
cpexprs.cc * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods. 2010-03-09 18:08:05 +00:00
cpexprs.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
cplusfuncs.cc * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods. 2010-03-09 18:08:05 +00:00
cplusfuncs.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
ctti.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
cttiadd1.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
cttiadd2.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
cttiadd3.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
cttiadd.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
demangle.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
derivation.cc
derivation.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
exception.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
exception.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
expand-sals.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
expand-sals.exp * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods. 2010-03-09 18:08:05 +00:00
extern-c.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
extern-c.exp gdb/ 2010-04-01 14:11:24 +00:00
formatted-ref.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
formatted-ref.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
gdb1355.cc * gdb.base/break.c (need_malloc): New. 2009-11-12 19:35:26 +00:00
gdb1355.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
gdb2384-base.cc 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com> 2010-03-12 21:13:15 +00:00
gdb2384-base.h 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com> 2010-03-12 21:13:15 +00:00
gdb2384.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
gdb2384.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
gdb2495.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
gdb2495.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
hang1.cc * gdb.base/break.c (need_malloc): New. 2009-11-12 19:35:26 +00:00
hang2.cc * gdb.base/break.c (need_malloc): New. 2009-11-12 19:35:26 +00:00
hang3.cc * gdb.base/break.c (need_malloc): New. 2009-11-12 19:35:26 +00:00
hang.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
hang.H
inherit.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
koenig.cc Add ADL support 2010-05-07 14:46:28 +00:00
koenig.exp Add ADL support 2010-05-07 14:46:28 +00:00
local.cc
local.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
m-data.cc * gdb.base/break.c (need_malloc): New. 2009-11-12 19:35:26 +00:00
m-data.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
m-static1.cc
m-static.cc gdb 2010-03-13 00:27:12 +00:00
m-static.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
m-static.h
maint.exp
Makefile.in PR 9167 2010-04-21 17:33:54 +00:00
mb-ctor.cc
mb-ctor.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
mb-inline1.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
mb-inline2.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
mb-inline.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
mb-inline.h Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
mb-templates.cc
mb-templates.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
member-ptr.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
member-ptr.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
method2.cc
method2.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
method.cc
method.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
misc.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
misc.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
namespace1.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
namespace-nested-import.cc
namespace-nested-import.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
namespace.cc gdb 2010-01-19 18:11:19 +00:00
namespace.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
nsdecl.cc 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com> 2010-01-26 16:47:35 +00:00
nsdecl.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
nsimport.cc 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com> 2010-01-26 15:48:25 +00:00
nsimport.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
nsrecurs.cc 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com> 2010-01-28 17:58:02 +00:00
nsrecurs.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
nsstress.cc 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com> 2010-01-26 16:47:35 +00:00
nsstress.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
nsusing.cc 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com> 2010-01-28 17:58:02 +00:00
nsusing.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
overload.cc gdb/ 2010-02-16 20:51:51 +00:00
overload.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
ovldbreak.cc
ovldbreak.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
pass-by-ref.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
pass-by-ref.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
pr9067.cc PR gdb/9067 2010-02-08 18:04:17 +00:00
pr9067.exp PR gdb/9067 2010-02-08 18:04:17 +00:00
pr9167.cc PR 9167 2010-04-21 17:33:54 +00:00
pr9167.exp PR 9167 2010-04-21 17:33:54 +00:00
pr9594.cc
pr9631.cc
pr9631.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
pr10687.cc PR 10867 2010-04-20 20:22:12 +00:00
pr10687.exp PR 10867 2010-04-20 20:22:12 +00:00
pr10728-x.cc PR gdb/10728 2010-02-08 18:27:53 +00:00
pr10728-x.h PR gdb/10728 2010-02-08 18:27:53 +00:00
pr10728-y.cc PR gdb/10728 2010-02-08 18:27:53 +00:00
pr10728.exp PR gdb/10728 2010-02-08 18:27:53 +00:00
pr-574.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
pr-574.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
pr-1023.cc
pr-1023.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
pr-1210.cc
pr-1210.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
printmethod.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
printmethod.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
psmang1.cc
psmang2.cc
psmang.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
punctuator.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
ref-params.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
ref-params.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
ref-types.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
ref-types.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
rtti1.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
rtti2.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
rtti.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
rtti.h Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
shadow.cc 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com> 2010-03-15 17:29:36 +00:00
shadow.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
templates.cc * gdb.base/find.c (main): Reference search buffers. 2009-12-28 21:45:24 +00:00
templates.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
try_catch.cc
try_catch.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
userdef.cc gdb 2010-03-15 17:26:47 +00:00
userdef.exp gdb 2010-03-15 17:26:47 +00:00
virtbase.cc gdb 2010-02-02 23:40:28 +00:00
virtbase.exp gdb 2010-02-04 21:04:30 +00:00
virtfunc2.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
virtfunc2.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
virtfunc.cc
virtfunc.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00