2015-05-08 Andrew Sutton <andrew.n.sutton@gmail.com>
commit5d090b8963547610166689fd06c46e90041a2886
authorasutton <asutton@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 May 2015 17:13:51 +0000 (8 17:13 +0000)
committerasutton <asutton@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 May 2015 17:13:51 +0000 (8 17:13 +0000)
tree01f2e7c71a6707dc5c3bcc0903974f02b669b10f
parentac711529bee6ffc653d43cc75dfe5e0b8fd087e7
2015-05-08  Andrew Sutton  <andrew.n.sutton@gmail.com>

Addressing review comments.
* gcc/cp/call.c (build_new_function_call): Don't check for
template parameters when we're not processing a template decl.
* gcc/cp/constraint.cc (function_concept_check_p): Use
get_first_fn.
(satisfy_expression_constraint): Move sentinel into cp-tree.h.
* gcc/cp/parser.c (cp_parser_declarator): Use function_declarator_p.
* gcc/cp/cp-tree.h (struct deferring_access_check_sentinel): Moved
from constraint.cc.
* gcc/cp/semantics: (finish_call_expr) Don't remove constraints.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/c++-concepts@222917 138bc75d-0d04-0410-961f-82ee72b054a4
ChangeLog.concepts
gcc/cp/call.c
gcc/cp/constraint.cc
gcc/cp/cp-tree.h
gcc/cp/parser.c
gcc/cp/semantics.c