svn commit: r199713 -
projects/clangbsd/contrib/llvm/tools/clang/lib/Driver
Roman Divacky
rdivacky at FreeBSD.org
Mon Nov 23 15:26:17 UTC 2009
Author: rdivacky
Date: Mon Nov 23 15:26:16 2009
New Revision: 199713
URL: http://svn.freebsd.org/changeset/base/199713
Log:
Turn off the warnings about unused compilation arguments.
Modified:
projects/clangbsd/contrib/llvm/tools/clang/lib/Driver/Driver.cpp
Modified: projects/clangbsd/contrib/llvm/tools/clang/lib/Driver/Driver.cpp
==============================================================================
--- projects/clangbsd/contrib/llvm/tools/clang/lib/Driver/Driver.cpp Mon Nov 23 11:52:20 2009 (r199712)
+++ projects/clangbsd/contrib/llvm/tools/clang/lib/Driver/Driver.cpp Mon Nov 23 15:26:16 2009 (r199713)
@@ -950,7 +950,7 @@ void Driver::BuildJobs(Compilation &C) c
// If the user passed -Qunused-arguments or there were errors, don't warn
// about any unused arguments.
- if (Diags.getNumErrors() ||
+ if (1 || Diags.getNumErrors() ||
C.getArgs().hasArg(options::OPT_Qunused_arguments))
return;
More information about the svn-src-projects
mailing list