Skip to content
Snippets Groups Projects
Commit 6c74ff23 authored by Jason Merrill's avatar Jason Merrill Committed by Jason Merrill
Browse files

re PR c++/52597 ([C++11] confusing diagnostics for invalid use of non-static...

re PR c++/52597 ([C++11] confusing diagnostics for invalid use of non-static member function in decltype)

	PR c++/52597
	* typeck.c (invalid_nonstatic_memfn_p): Use get_first_fn.  Take tree.
	* semantics.c (finish_decltype_type): Check it before type_unknown_p.
	* cp-tree.h: Adjust prototype.

From-SVN: r197131
parent 845367eb
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment