<div dir="ltr">Yes, there are plans to do both.<div><br></div><div>I haven't been able to update/finish the patches due to school work, but I plan to</div><div>land both the builtins and source_location over the Christmas break.</div><div><br></div><div>/Eric</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 13, 2017 at 7:47 AM, Fabio Fracassi via cfe-dev <span dir="ltr"><<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
I recently tried to implement certain error handling boilerplate without the use of macros. source_location as described in <a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4519.pdf" rel="noreferrer" target="_blank">http://www.open-std.org/jtc1/s<wbr>c22/wg21/docs/papers/2015/n451<wbr>9.pdf</a> would be a perfect fit for this.<br>
<br>
I was able to implement source_location in gcc via __builtin_FILE(), __builtin_LINE(), etc. clang does not support these yet. I found two review requests (<a href="https://reviews.llvm.org/D36389" rel="noreferrer" target="_blank">https://reviews.llvm.org/D363<wbr>89</a> and <a href="https://reviews.llvm.org/D37035" rel="noreferrer" target="_blank">https://reviews.llvm.org/D3703<wbr>5</a>) that seemed to be working on source_location and the builtins.<br>
Are there any plans for integrating either the builtins or full fledged source_location?<br>
<br>
regards<br>
<br>
Fabio<br>
<br>
<br>
______________________________<wbr>_________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/cfe-dev</a><br>
</blockquote></div><br></div>