2014-07-28 Andrew Sutton <andrew.n.sutton@gmail.com>
commit6ab40045d0fed9fd57a9e1ad3983a89161b87427
authorasutton <asutton@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 28 Jul 2014 16:33:13 +0000 (28 16:33 +0000)
committerasutton <asutton@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 28 Jul 2014 16:33:13 +0000 (28 16:33 +0000)
tree55e4228116b4b899017f0e4701dd69ba3ec25642
parent473a1c14ef357fb31453cf3f6300a858e7ed356f
2014-07-28  Andrew Sutton  <andrew.n.sutton@gmail.com>
* gcc/cp/cp-tree.h (more_constraints): Remove
(subsumes_constraints): Renamed from more_constraints
(more_constrained): Repurposed
* gcc/cp/call-c (template_decl_for_candidates): Rename to get_temploid,
only get template info for member functions of a class template
specialization.
(joust): Handle member functions of class template specializations
separately from function templates. This matches the new wording in
the TS.
* gcc/cp/logic.cc (match_terms): Make inline.
(subsumes_constraints): Rename to subsumes_constraints_nonnull.
* gcc/cp/pt.c (is_compatible_template_arg): Use subsumes.
(more_specialized_fn): Use usubsumes_constraints.
(more_specialized_class): Use more_constrained.
* gcc/cp/constraint.cc (more_constraints): Removed.
(more_constrained): New.

2014-07-11  Andrew Sutton  <andrew.n.sutton@gmail.com>
* gcc/cp/typeck.c (cp_build_function_call_vec): Emit diagnostic
at the input location.
* gcc/cp/error.c (dump_template_decl): Constraints are never invalid
in this way. Also fixes brace warning.

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