[patch] Add a section about implementation-defined behavior to the user's manual

Nico Weber thakis at chromium.org
Tue Jan 29 12:16:07 PST 2013


Hi,

a coworker asked me if clang documents how it handles right shifts of
signed numbers today. As far as I can tell there's no documentation
for this, but I found PR11272 about documenting implementation-defined
behavior. The bug suggests just linking to gcc's documentation as a
first step, which is what the attached patch does. This isn't quite
correct (for example, clang supports UCNs without any flags), but is
correct for most things. People can fill in more details over time.

Is this ok?

Nico
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-impldef.patch
Type: application/octet-stream
Size: 600 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130129/6c5df30e/attachment.obj>


More information about the cfe-commits mailing list