flags.def 803 B

12345678910111213141516171819202122
  1. // Part of the Carbon Language project, under the Apache License v2.0 with LLVM
  2. // Exceptions. See /LICENSE for license information.
  3. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. // Note: X-macro header. Do not use include guards.
  5. #ifndef CARBON_SUBCOMMAND
  6. // FIXME: We should expand `HelpText` to be a short help name, a synopsis, and a
  7. // long-form description.
  8. #define CARBON_SUBCOMMAND(Name, Spelling, HelpText)
  9. #endif
  10. CARBON_SUBCOMMAND(Help, "help",
  11. "Display help information about the driver options.")
  12. CARBON_SUBCOMMAND(
  13. DumpTokens, "dump-tokens",
  14. "Dumps the sequence of tokens lexed out of the input source file.")
  15. CARBON_SUBCOMMAND(
  16. DumpParseTree, "dump-parse-tree",
  17. "Dumps the parse tree for the input source file.")
  18. #undef CARBON_SUBCOMMAND