Re: [PATCH] document cp_operator_id and cp_assignment_operator_id

2017-07-01 Thread Jason Merrill
OK. On Thu, Jun 15, 2017 at 6:57 PM, Martin Sebor wrote: > On 06/15/2017 03:24 PM, Jason Merrill wrote: >> >> On Thu, Jun 15, 2017 at 12:57 PM, Martin Sebor wrote: >>> >>> Attached is a documentation-only change to add comments explaining >>> the C++ cp_operator_id and cp_assignment_operator_id

Re: [PATCH] document cp_operator_id and cp_assignment_operator_id

2017-06-15 Thread Martin Sebor
On 06/15/2017 03:24 PM, Jason Merrill wrote: On Thu, Jun 15, 2017 at 12:57 PM, Martin Sebor wrote: Attached is a documentation-only change to add comments explaining the C++ cp_operator_id and cp_assignment_operator_id macros. Hmm, I'd say that these macros return the identifier used internal

Re: [PATCH] document cp_operator_id and cp_assignment_operator_id

2017-06-15 Thread Jason Merrill
On Thu, Jun 15, 2017 at 12:57 PM, Martin Sebor wrote: > Attached is a documentation-only change to add comments explaining > the C++ cp_operator_id and cp_assignment_operator_id macros. Hmm, I'd say that these macros return the identifier used internally to represent "operator OP" and "operator O

[PATCH] document cp_operator_id and cp_assignment_operator_id

2017-06-15 Thread Martin Sebor
Attached is a documentation-only change to add comments explaining the C++ cp_operator_id and cp_assignment_operator_id macros. Martin gcc/cp/ChangeLog: * cp-tree.h (cp_operator_id, cp_assignment_operator_id): Document. diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index da45d95..234441b 10