This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [documentation patch] add detail to const and pure attributes
- From: Jason Merrill <jason at redhat dot com>
- To: Martin Sebor <msebor at gmail dot com>
- Cc: Sandra Loosemore <sandra at codesourcery dot com>, Pedro Alves <palves at redhat dot com>, Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 3 Apr 2018 10:59:45 -0400
- Subject: Re: [documentation patch] add detail to const and pure attributes
- References: <25a9f265-84ca-ce49-caaf-1d785d9c5513@gmail.com> <0a66ae3d-a888-e8e0-8e0e-323986b5c7a9@redhat.com> <59ba5d95-113b-678b-bf88-b2d10c5f4169@gmail.com> <eac9ad7e-d6cc-4127-7b4e-bd5bc61b98e3@redhat.com> <9b1b6659-1e8e-3466-e4d5-d2cbc1b2c282@codesourcery.com> <a08b9d9f-7db7-cf38-456d-10277530eaae@gmail.com>
On Mon, Apr 2, 2018 at 6:34 PM, Martin Sebor <msebor@gmail.com> wrote:
> Attached is a changed patch that uses "cannot have side effects"
> instead of "can have no side effects."
> +effects it does not make sense for such a function to return @code{void}.
> +Declaring such functions is diagnosed.
Let's make the last sentence singular ("such a function") as well. OK
with that change in both hunks.
Jason