<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 14, 2014 at 4:51 PM, Quentin Colombet <span dir="ltr"><<a href="mailto:qcolombet@apple.com" target="_blank" class="cremed">qcolombet@apple.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Diego,<br>
<br>
This overall LGTM.<br>
I have one concern though.<br>
The LLVMContext begins to have a lot of its API dedicated to diagnostic report. All those helper functions calls LLVMContext::diagnose and I would prefer to have just this specific method (emitError being the exception) than having a profusion of such helpers in that class.<br>

I think it would make sense to have those helper functions in the DiagnosticInfo header. That way it would be better self contained.<br>
This is my 2 cents.<br>
<br>
What do you think?<br></blockquote><div><br></div><div>Sounds reasonable. I just updated the patch with your suggestion. Is that what you had in mind?</div><div><br></div><div><br></div><div>Thanks. Diego.</div></div></div>
</div>