[PATCH] [DOC] Documentation for pragma optimize on/off

Aaron Ballman aaron at aaronballman.com
Wed May 28 06:53:03 PDT 2014


On Tue, May 27, 2014 at 11:17 AM, Dario Domizioli
<dario.domizioli at gmail.com> wrote:
> Hi Aaron.
>
> On 23 May 2014 16:50, Aaron Ballman <aaron at aaronballman.com> wrote:
>>
>> Of course, I went and looked *after* I sent the email, but optnone is
>> documented.
>> ...
>>
>> However, we're currently experiencing difficulties with the
>> server-side process that converts this into live documentation, so
>> that documentation is not live yet. I've brought this up with the
>> server admin, and will continue to follow up until it's resolved.
>
>
> I see.
> I think the best option would then be to have a link to the attribute
> documentation from the language extensions document, but I seem to
> understand that at the moment we don't have that possibility. We can always
> add the link later, though.

Yes, that link should be added at some point once the attribute
documentation starts to be generated as expected.

> Meanwhile, I'm attaching a revised documentation patch, which provides a bit
> more detail on the effects of the pragma (especially with templates) and
> mentions the fact that a missing "on" means that the "off" region extends up
> to the end of the compilation unit.

LGTM! Thanks!

~Aaron



More information about the cfe-commits mailing list