[cfe-commits] r126713 - /cfe/trunk/lib/Driver/Tools.cpp
Rafael Espindola
rafael.espindola at gmail.com
Mon Feb 28 15:29:45 PST 2011
Author: rafael
Date: Mon Feb 28 17:29:45 2011
New Revision: 126713
URL: http://llvm.org/viewvc/llvm-project?rev=126713&view=rev
Log:
Don't warn about "clang -use-gold-plugin -c ...". With this users can say
CC="clang -use-gold-plugin" CFLAGS=-emit-llvm ../configure...
and not be hit with a warning for each .c file.
Modified:
cfe/trunk/lib/Driver/Tools.cpp
Modified: cfe/trunk/lib/Driver/Tools.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Tools.cpp?rev=126713&r1=126712&r2=126713&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Tools.cpp (original)
+++ cfe/trunk/lib/Driver/Tools.cpp Mon Feb 28 17:29:45 2011
@@ -1825,6 +1825,8 @@
// care to warn the user about.
Args.ClaimAllArgs(options::OPT_clang_ignored_f_Group);
Args.ClaimAllArgs(options::OPT_clang_ignored_m_Group);
+
+ Args.ClaimAllArgs(options::OPT_use_gold_plugin);
}
void ClangAs::ConstructJob(Compilation &C, const JobAction &JA,
More information about the cfe-commits
mailing list