On Mon, 5 Sep 2016, Sandra Loosemore wrote:
>> I noticed you changed return-value and return-type to their
>> variants without a dash.  Would it make sense to add the
>> following to https://gcc.gnu.org/codingconventions.html#Spelling ?
> Perhaps add here that "return type" and "return value" are nouns.  It 
> would be correct to hyphenate them if they were used as adjective 
> phrases immediately before a noun (although I'm having trouble coming 
> up with an example of such usage that would make any sense).

Thanks, Sandra.  I have committed the updated patch below which
makes this explicit.


Index: codingconventions.html
RCS file: /cvs/gcc/wwwdocs/htdocs/codingconventions.html,v
retrieving revision 1.76
diff -u -r1.76 codingconventions.html
--- codingconventions.html      16 Aug 2016 09:24:33 -0000      1.76
+++ codingconventions.html      18 Sep 2016 13:49:47 -0000
@@ -457,6 +457,11 @@
+    <td>"return type" (noun), "return value" (noun)</td>
+    <td>"return-type", "return-value"</td>
+    <td></td>
+  </tr>
+  <tr>
     <td>"run time" (noun), "run-time" (adjective);
       the time at which the program is run</td>

Reply via email to