mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
AST: Always diagnose request evaluator cycles
This commit is contained in:
@@ -360,9 +360,8 @@ static bool ParseLangArgs(LangOptions &Opts, ArgList &Args,
|
||||
Opts.DebugForbidTypecheckPrefix = A->getValue();
|
||||
}
|
||||
|
||||
if (Args.getLastArg(OPT_debug_cycles)) {
|
||||
Opts.EvaluatorCycleDiagnostics = CycleDiagnosticKind::DebugDiagnose;
|
||||
}
|
||||
if (Args.getLastArg(OPT_debug_cycles))
|
||||
Opts.DebugDumpCycles = true;
|
||||
|
||||
if (const Arg *A = Args.getLastArg(OPT_output_request_graphviz)) {
|
||||
Opts.RequestEvaluatorGraphVizPath = A->getValue();
|
||||
|
||||
Reference in New Issue
Block a user