[PATCH] Implement throw in conditional operator

Marius Wachtler undingen at gmail.com
Tue Jun 10 14:19:03 PDT 2014


Hello

Attached you can find my first clang patch which should implement
"cond ? throw 1 : val".

Without this patch I get: "cannot compile this l-value expression yet"

As this is my first time looking under the hood of clang I'm not sure if
this is the right approach. I'm Looking forward to your feedback.

- Marius Wachtler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140610/e6f86e89/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cond_op_throw.patch
Type: text/x-patch
Size: 1405 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140610/e6f86e89/attachment.bin>


More information about the cfe-commits mailing list