Add a command-line option to time expression type-checking.

This commit is contained in:
Mark Lacey
2017-01-11 00:15:38 -08:00
parent 5f2aeec434
commit 3903a43f97
8 changed files with 55 additions and 1 deletions

View File

@@ -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)) {