Add frontend flag -warn-if-astscope-lookup w/ test

This commit is contained in:
David Ungar
2019-08-06 23:17:49 -07:00
parent 369e31e463
commit 09342dfa47
5 changed files with 23 additions and 2 deletions

View File

@@ -124,6 +124,9 @@ def disable_target_os_checking :
def compare_to_astscope_lookup : Flag<["-"], "compare-to-astscope-lookup">,
HelpText<"Compare legacy to ASTScope-based unqualified name lookup (for debugging)">;
def warn_if_astscope_lookup : Flag<["-"], "warn-if-astscope-lookup">,
HelpText<"Print a warning if ASTScope lookup is used">;
def print_clang_stats : Flag<["-"], "print-clang-stats">,
HelpText<"Print Clang importer statistics">;