0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/src/ast_render.cpp

1246 lines
48 KiB

2016-12-04 21:06:13 -05:00
2017-01-10 15:39:52 -05:00
2017-05-23 00:26:12 -04:00
2017-09-20 21:37:56 -07:00
2018-01-31 01:51:15 -05:00
2016-02-09 08:46:55 -07:00
2016-02-09 08:46:55 -07:00
2016-02-09 08:46:55 -07:00
2017-02-03 11:39:24 -05:00
2016-01-28 11:03:44 -07:00
2016-01-28 11:03:44 -07:00
2019-06-08 01:16:19 -04:00
2018-04-30 14:20:56 -04:00
2018-01-31 01:51:15 -05:00
2018-02-28 22:18:48 -05:00
2019-10-06 16:39:27 -04:00
2020-07-11 14:08:20 +03:00
2016-02-09 08:46:55 -07:00
2016-04-06 11:38:12 -07:00
2016-04-06 11:38:12 -07:00
2016-04-06 11:38:12 -07:00
2019-07-21 14:35:45 +03:00
2016-11-18 23:52:42 -05:00
2016-12-05 18:43:16 -05:00
2017-09-05 00:21:02 -04:00
2017-04-10 20:02:39 -04:00
2017-09-05 00:21:02 -04:00
2020-07-11 14:08:20 +03:00
breaking changes to zig build API and improved caching * in Zig build scripts, getOutputPath() is no longer a valid function to call, unless setOutputDir() was used, or within a custom make() function. Instead there is more convenient API to use which takes advantage of the caching system. Search this commit diff for `exe.run()` for an example. * Zig build by default enables caching. All build artifacts will go into zig-cache. If you want to access build artifacts in a convenient location, it is recommended to add an `install` step. Otherwise you can use the `run()` API mentioned above to execute programs directly from their location in the cache. Closes #330. `addSystemCommand` is available for programs not built with Zig build. * Please note that Zig does no cache evicting yet. You may have to manually delete zig-cache directories periodically to keep disk usage down. It's planned for this to be a simple Least Recently Used eviction system eventually. * `--output`, `--output-lib`, and `--output-h` are removed. Instead, use `--output-dir` which defaults to the current working directory. Or take advantage of `--cache on`, which will print the main output path to stdout, and the other artifacts will be in the same directory with predictable file names. `--disable-gen-h` is available when one wants to prevent .h file generation. * `@cImport` is always independently cached now. Closes #2015. It always writes the generated Zig code to disk which makes debug info and compile errors better. No more "TODO: remember C source location to display here" * Fix .d file parsing. (Fixes the MacOS CI failure) * Zig no longer creates "temporary files" other than inside a zig-cache directory. This breaks the CLI API that Godbolt uses. The suggested new invocation can be found in this commit diff, in the changes to `test/cli.zig`.
2019-03-08 22:53:35 -05:00
2017-12-18 09:59:57 -05:00
2019-12-23 21:52:06 +01:00
2020-07-11 14:08:20 +03:00
2018-01-31 01:51:15 -05:00
2016-11-18 23:52:42 -05:00
2016-11-18 23:52:42 -05:00
2016-11-13 21:07:30 -05:00
2016-11-18 23:52:42 -05:00
2016-11-13 21:07:30 -05:00
2016-12-06 21:26:17 -05:00
2016-11-18 23:52:42 -05:00
2017-12-18 09:59:57 -05:00
2016-11-18 23:52:42 -05:00
2016-11-18 23:52:42 -05:00
2016-11-18 23:52:42 -05:00
2019-07-21 14:35:45 +03:00
2016-11-04 15:36:30 -04:00
2017-09-21 00:54:08 -04:00
2017-09-21 00:54:08 -04:00
2016-11-26 20:52:22 -05:00
2019-12-05 16:55:32 -05:00
2016-11-26 20:52:22 -05:00
2016-11-26 20:52:22 -05:00
2016-11-18 23:52:42 -05:00
2016-11-18 23:52:42 -05:00
2016-01-28 11:03:44 -07:00
2016-01-28 11:03:44 -07:00
2018-04-30 14:20:56 -04:00
2016-12-18 16:56:50 -05:00
2016-12-05 18:43:16 -05:00
2016-12-05 18:43:16 -05:00
2016-12-05 18:43:16 -05:00
2016-12-05 18:43:16 -05:00
2016-11-18 23:52:42 -05:00
2016-11-18 23:52:42 -05:00
2016-11-13 21:07:30 -05:00
2016-11-13 21:07:30 -05:00
2016-11-18 23:52:42 -05:00
2016-11-13 21:07:30 -05:00
2016-11-18 23:52:42 -05:00
2016-11-13 21:07:30 -05:00
2016-11-18 23:52:42 -05:00
2016-11-18 23:52:42 -05:00
2016-11-18 23:52:42 -05:00
2016-11-18 23:52:42 -05:00
2017-02-02 17:09:27 -05:00
2017-02-02 17:09:27 -05:00
2017-02-02 17:09:27 -05:00
2017-02-02 17:09:27 -05:00
2017-02-02 17:09:27 -05:00
2016-11-24 02:44:03 -05:00
2016-12-05 18:43:16 -05:00
2020-03-09 11:02:16 +02:00
2020-03-09 11:02:16 +02:00
2016-12-05 18:43:16 -05:00
2016-12-05 18:43:16 -05:00
2016-12-05 18:43:16 -05:00
2016-11-26 23:16:38 -05:00
2019-06-08 01:16:19 -04:00
2018-01-31 01:51:15 -05:00
2019-11-06 12:43:33 +02:00
2018-01-31 01:51:15 -05:00
2018-02-28 22:18:48 -05:00
2019-08-02 01:05:34 -04:00
2019-08-02 01:05:34 -04:00
2020-07-11 14:08:20 +03:00
2019-10-06 16:39:27 -04:00
2016-11-18 23:52:42 -05:00