mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Macros] Add a flag -dump-macro-expansions as a debugging aid.
This commit is contained in:
@@ -1042,6 +1042,9 @@ static bool ParseLangArgs(LangOptions &Opts, ArgList &Args,
|
||||
Opts.AnalyzeRequirementMachine = Args.hasArg(
|
||||
OPT_analyze_requirement_machine);
|
||||
|
||||
Opts.DumpMacroExpansions = Args.hasArg(
|
||||
OPT_dump_macro_expansions);
|
||||
|
||||
if (const Arg *A = Args.getLastArg(OPT_debug_requirement_machine))
|
||||
Opts.DebugRequirementMachine = A->getValue();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user