diff options
author | Hans Wennborg <hans@hanshq.net> | 2013-08-09 00:32:23 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2013-08-09 00:32:23 +0000 |
commit | 0fd6207d3779b57566b7eb2a28e335d681549a33 (patch) | |
tree | a6732f1201adcabcf8c22a7776070fa35ce4a819 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 91555bde88dd991b60f4bf467dae74c6ce4f7bfd (diff) | |
download | bcm5719-llvm-0fd6207d3779b57566b7eb2a28e335d681549a33.tar.gz bcm5719-llvm-0fd6207d3779b57566b7eb2a28e335d681549a33.zip |
clang-cl: Support /showIncludes
This option prints information about #included files to stderr. Clang could
already do it, this patch just teaches the existing code about the /showIncludes
style and adds the flag.
Differential Revision: http://llvm-reviews.chandlerc.com/D1333
llvm-svn: 188037
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInvocation.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index f88c124f08c..a4a84127c05 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -518,6 +518,7 @@ static void ParseDependencyOutputArgs(DependencyOutputOptions &Opts, Opts.ShowHeaderIncludes = Args.hasArg(OPT_H); Opts.HeaderIncludeOutputFile = Args.getLastArgValue(OPT_header_include_file); Opts.AddMissingHeaderDeps = Args.hasArg(OPT_MG); + Opts.PrintShowIncludes = Args.hasArg(OPT_show_includes); Opts.DOTOutputFile = Args.getLastArgValue(OPT_dependency_dot); } |