mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-16 05:28:11 +00:00
This should clean up our top level directory and the build patterns. No non-mechanical edits here. Just injecting `toolchain/` and `TOOLCHAIN_` and then running formatting tools.
20 lines
691 B
Modula-2
20 lines
691 B
Modula-2
// Part of the Carbon Language project, under the Apache License v2.0 with LLVM
|
|
// Exceptions. See /LICENSE for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
|
|
// Note: X-macro header. Do not use include guards.
|
|
|
|
#ifndef CARBON_SUBCOMMAND
|
|
// FIXME: We should expand `HelpText` to be a short help name, a synopsis, and a
|
|
// long-form description.
|
|
#define CARBON_SUBCOMMAND(Name, Spelling, HelpText)
|
|
#endif
|
|
|
|
CARBON_SUBCOMMAND(Help, "help",
|
|
"Display help information about the driver options.")
|
|
CARBON_SUBCOMMAND(
|
|
DumpTokens, "dump-tokens",
|
|
"Dumps the sequence of tokens lexed out of the input source file.")
|
|
|
|
#undef CARBON_SUBCOMMAND
|