mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Add a -print-clang-stats frontend flag.
Prints stats from the Clang importer's ASTReader. Swift SVN r17512
This commit is contained in:
@@ -98,6 +98,10 @@ static bool ParseFrontendArgs(FrontendOptions &Opts, ArgList &Args,
|
||||
Opts.PrintStats = true;
|
||||
}
|
||||
|
||||
if (Args.hasArg(OPT_print_clang_stats)) {
|
||||
Opts.PrintClangStats = true;
|
||||
}
|
||||
|
||||
if (Args.hasArg(OPT_playground)) {
|
||||
Opts.Playground = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user