<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Aug 19, 2010, at 2:35 AM, Jean-Daniel Dupas wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello,<div><br></div><div>Actually clang does not support codegen for ternary operator without LHS in C++ (see bug <a href="http://llvm.org/bugs/show_bug.cgi?id=7726">#7726 </a>).</div><div><br></div><div>But in many cases it silently produces invalid code instead of raising an error. In other cases it calls EmitUnsupportedLValue().</div><div><br></div><div>To prevent this kind of issue, this patch add a EmitUnsupportedLValue() call that is unconditionally invoked as soon as clang try to generate code for this construct in C++ mode.</div></div></blockquote><br>Thanks, committed as r111809!</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>- Doug</div><br></body></html>