| ... | ... | @@ -601,8 +601,9 @@ fn objectLessThan(context: void, a: *json.ObjectMap, b: *json.ObjectMap) bool { |
| 601 | 601 | fn usageAndExit(file: fs.File, arg0: []const u8, code: u8) noreturn { |
| 602 | 602 | file.outStream().print( |
| 603 | 603 | \\Usage: {} /path/to/llvm-tblgen /path/to/git/llvm/llvm-project |
| 604 | \\Alternative Usage: zig run /path/to/git/zig/tools/update_clang_options.zig -- /path/to/llvm-tblgen /path/to/git/llvm/llvm-project |
| 604 | 605 | \\ |
| 605 | | \\Prints to stdout Zig code which you can use to replace the file src-self-hosted/clang_options_data.zig. |
| 606 | \\Prints to stdout Zig code which you can use to replace the file src/clang_options_data.zig. |
| 606 | 607 | \\ |
| 607 | 608 | , .{arg0}) catch std.process.exit(1); |
| 608 | 609 | std.process.exit(code); |