[cfe-commits] r63955 - in /cfe/trunk/tools/ccc/ccclib: Arguments.py Tools.py
Daniel Dunbar
daniel at zuster.org
Fri Feb 6 11:26:49 PST 2009
Author: ddunbar
Date: Fri Feb 6 13:26:48 2009
New Revision: 63955
URL: http://llvm.org/viewvc/llvm-project?rev=63955&view=rev
Log:
ccc: Forward -dM to clang.
Modified:
cfe/trunk/tools/ccc/ccclib/Arguments.py
cfe/trunk/tools/ccc/ccclib/Tools.py
Modified: cfe/trunk/tools/ccc/ccclib/Arguments.py
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/ccc/ccclib/Arguments.py?rev=63955&r1=63954&r2=63955&view=diff
==============================================================================
--- cfe/trunk/tools/ccc/ccclib/Arguments.py (original)
+++ cfe/trunk/tools/ccc/ccclib/Arguments.py Fri Feb 6 13:26:48 2009
@@ -745,6 +745,7 @@
# FIXME: Naming convention.
self.dGroup = OptionGroup('-d')
self.dAOption = self.addOption(FlagOption('-dA', self.dGroup))
+ self.dMOption = self.addOption(FlagOption('-dM', self.dGroup))
self.dOption = self.addOption(FlagOption('-d', self.dGroup))
# Use a group for this in anticipation of adding more -d
Modified: cfe/trunk/tools/ccc/ccclib/Tools.py
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/ccc/ccclib/Tools.py?rev=63955&r1=63954&r2=63955&view=diff
==============================================================================
--- cfe/trunk/tools/ccc/ccclib/Tools.py (original)
+++ cfe/trunk/tools/ccc/ccclib/Tools.py Fri Feb 6 13:26:48 2009
@@ -321,6 +321,8 @@
arglist.addAllArgs(cmd_args, arglist.parser.Clang_fGroup)
+ arglist.addLastArg(cmd_args, arglist.parser.dMOption)
+
for arg in arglist.getArgs(arglist.parser.XclangOption):
cmd_args.extend(arglist.getValues(arg))
More information about the cfe-commits
mailing list