[cfe-commits] [Patch][Review] Tests for explicit conversion operators

Jonathan Sauer jonathan.sauer at gmx.de
Sat Jul 23 04:04:45 PDT 2011


Hello,

as promised in an earlier mail, I wrote some more tests for C++0x's explicit conversion operators (and
found a clang bug along the way, PR10453). I think they are complete now (except for the interaction with
constexpr, which is not implemented yet as far as I know).

I tried to follow the other tests, although I'm not sure about two points:

1. LLVM's coding guidelines state that lines must remain below 80 characters. This does not seem to be
   followed in clang's tests, so I didn't, either.
2. I added the FDIS section numbers corresponding to the tests as comments which I think makes following
   them easier. OTOH, they will most likely get out of sync with C++16.


Jonathan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: explicit.diff
Type: application/octet-stream
Size: 4858 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110723/2d19742c/attachment.obj>
-------------- next part --------------




More information about the cfe-commits mailing list