[cfe-dev] Any news on std::experimental::source_location (and/or _builtin_FILE etc.)
Eric Fiselier via cfe-dev
cfe-dev at lists.llvm.org
Wed Dec 13 12:01:28 PST 2017
Yes, there are plans to do both.
I haven't been able to update/finish the patches due to school work, but I
land both the builtins and source_location over the Christmas break.
On Wed, Dec 13, 2017 at 7:47 AM, Fabio Fracassi via cfe-dev <
cfe-dev at lists.llvm.org> wrote:
> Hi all,
> I recently tried to implement certain error handling boilerplate without
> the use of macros. source_location as described in
> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4519.pdf would
> be a perfect fit for this.
> 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 (https://reviews.llvm.org/D36389 and
> https://reviews.llvm.org/D37035) that seemed to be working on
> source_location and the builtins.
> Are there any plans for integrating either the builtins or full fledged
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev