mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Add a command-line option to time expression type-checking.
This commit is contained in:
@@ -179,6 +179,8 @@ static bool ParseFrontendArgs(FrontendOptions &Opts, ArgList &Args,
|
||||
Opts.PrintStats |= Args.hasArg(OPT_print_stats);
|
||||
Opts.PrintClangStats |= Args.hasArg(OPT_print_clang_stats);
|
||||
Opts.DebugTimeFunctionBodies |= Args.hasArg(OPT_debug_time_function_bodies);
|
||||
Opts.DebugTimeExpressionTypeChecking |=
|
||||
Args.hasArg(OPT_debug_time_expression_type_checking);
|
||||
Opts.DebugTimeCompilation |= Args.hasArg(OPT_debug_time_compilation);
|
||||
|
||||
if (const Arg *A = Args.getLastArg(OPT_warn_long_function_bodies)) {
|
||||
|
||||
Reference in New Issue
Block a user