<div dir="ltr">Hi,<div><br></div><div>Please find attached a documentation patch that details the Clang extensions to selectively disable optimizations.</div><div><br></div><div>I have noticed that attribute `optnone` was not documented from a user's point of view, so I have documented it first in the same section. Then I have described the recently submitted support for `#pragma clang optimize on/off`.</div>
<div><br></div><div>Is it acceptable for the documentation to be this terse? I can potentially expand on it and write at length about how the pragma affects templates, functions instanced by macros, class methods, and so on (all the cases that I have verified in the tests for the change introducing the pragma), but maybe that level of detail is not necessary.</div>
<div><br></div><div>Also, is it ok for this documentation to be in the Language Extensions document, or do you think it's relevant enough to be in the User Manual (maybe under the "Controlling Code Generation" section)?</div>
<div><br></div><div>Cheers, </div><div>    Dario Domizioli</div><div>    SN Systems - Sony Computer Entertainment Group</div><div><br></div><div><br></div></div>