Files
zig/src
Andrew Kelley 4a38799631 make file and fn_name fields of SourceLocation also null-terminated
One of the main motivating use cases for this language feature is
tracing/profiling tools, which expect null-terminated strings for these
values. Since the data is statically allocated, making them
additionally null-terminated comes at no cost.

This prevents the requirement of compile-time code to convert to
null-termination, which could increase the compilation time of
code with tracing enabled.

See #2029
2020-06-18 17:09:10 -04:00
..
2020-06-18 21:11:09 +03:00
2019-04-04 22:07:15 -04:00
2019-04-04 22:07:15 -04:00
2018-09-05 23:23:11 -04:00
2019-09-22 15:58:57 -04:00
2020-06-18 21:11:09 +03:00
2020-02-10 21:08:08 -05:00
2016-09-19 11:54:01 -04:00
2020-02-16 19:16:08 -05:00
2020-02-10 21:08:08 -05:00
2020-02-10 21:08:08 -05:00
2020-02-10 21:08:08 -05:00
2020-06-18 21:11:09 +03:00
2020-02-10 21:08:08 -05:00
2020-02-10 21:08:08 -05:00
2020-02-10 21:08:08 -05:00
2020-02-10 21:08:08 -05:00
2020-02-10 21:08:08 -05:00
2020-06-15 22:21:01 +03:00
2020-06-15 18:38:41 +03:00
2020-03-27 23:43:21 -04:00
2020-04-04 14:43:51 -04:00
2020-05-17 12:18:53 -04:00
2020-02-16 19:16:08 -05:00
2018-10-27 11:35:01 -04:00
2020-02-16 13:25:30 -05:00