diff options
author | Hans Wennborg <hans@hanshq.net> | 2013-08-02 00:30:15 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2013-08-02 00:30:15 +0000 |
commit | 5762a04f127777e9ce8a53961c9b24d8ca19154a (patch) | |
tree | 2b8d88b54de447cf522de08b57f8da30cf4dd31c /clang/lib | |
parent | 42a3046eefdf86d762ab8a64642948a2bae93a05 (diff) | |
download | bcm5719-llvm-5762a04f127777e9ce8a53961c9b24d8ca19154a.tar.gz bcm5719-llvm-5762a04f127777e9ce8a53961c9b24d8ca19154a.zip |
clang-cl: add more options
This adds a bunch of options to clang-cl. Notably, this includes
all the options that get passed when doing a default build of a
command-line project with msbuild.exe in Debug and Release modes,
and I believe all flags from Reid's original patch.
Differential Revision: http://llvm-reviews.chandlerc.com/D1264
llvm-svn: 187637
Diffstat (limited to 'clang/lib')
-rw-r--r-- | clang/lib/Driver/Tools.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp index 3a23732ad39..02a29b2eb07 100644 --- a/clang/lib/Driver/Tools.cpp +++ b/clang/lib/Driver/Tools.cpp @@ -3632,6 +3632,9 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA, Args.ClaimAllArgs(options::OPT_clang_ignored_f_Group); Args.ClaimAllArgs(options::OPT_clang_ignored_m_Group); + // Claim ignored clang-cl options. + Args.ClaimAllArgs(options::OPT_cl_ignored_Group); + // Disable warnings for clang -E -use-gold-plugin -emit-llvm foo.c Args.ClaimAllArgs(options::OPT_use_gold_plugin); Args.ClaimAllArgs(options::OPT_emit_llvm); |