This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [documentation patch] add detail to const and pure attributes


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]