summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2013-06-24 01:45:33 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2013-06-24 01:45:33 +0000
commit6ea058245e0192c82274b3f5b3161c63722488dc (patch)
treec0fe2402cab73c076198bf06adaa15b859a9cd5b /clang/lib/Frontend/CompilerInvocation.cpp
parentc0510b9c970fff35a8ebca89a318403a4b8be6bf (diff)
downloadbcm5719-llvm-6ea058245e0192c82274b3f5b3161c63722488dc.tar.gz
bcm5719-llvm-6ea058245e0192c82274b3f5b3161c63722488dc.zip
Add -ast-dump-lookups switch to -cc1 to dump DeclContext lookup maps. Test to
follow. llvm-svn: 184678
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index d7d679fcc07..b699bb973e6 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/lib/Frontend/CompilerInvocation.cpp
@@ -741,6 +741,7 @@ static InputKind ParseFrontendArgs(FrontendOptions &Opts, ArgList &Args,
Opts.FixAndRecompile = Args.hasArg(OPT_fixit_recompile);
Opts.FixToTemporaries = Args.hasArg(OPT_fixit_to_temp);
Opts.ASTDumpFilter = Args.getLastArgValue(OPT_ast_dump_filter);
+ Opts.ASTDumpLookups = Args.hasArg(OPT_ast_dump_lookups);
Opts.UseGlobalModuleIndex = !Args.hasArg(OPT_fno_modules_global_index);
Opts.GenerateGlobalModuleIndex = Opts.UseGlobalModuleIndex;
OpenPOWER on IntegriCloud