forked from OSchip/llvm-project
parent
421d40c22b
commit
1a5f04dc66
|
@ -745,6 +745,7 @@ class OptionParser:
|
|||
# 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
|
||||
|
|
|
@ -321,6 +321,8 @@ class Clang_CompileTool(Tool):
|
|||
|
||||
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))
|
||||
|
||||
|
|
Loading…
Reference in New Issue