[cfe-commits] r67581 - in /cfe/trunk: include/clang/Driver/Options.def tools/ccc/ccclib/Arguments.py
Daniel Dunbar
daniel at zuster.org
Mon Mar 23 17:20:13 PDT 2009
Author: ddunbar
Date: Mon Mar 23 19:20:13 2009
New Revision: 67581
URL: http://llvm.org/viewvc/llvm-project?rev=67581&view=rev
Log:
ccc/Driver: -r option doesn't take an argument.
Modified:
cfe/trunk/include/clang/Driver/Options.def
cfe/trunk/tools/ccc/ccclib/Arguments.py
Modified: cfe/trunk/include/clang/Driver/Options.def
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Driver/Options.def?rev=67581&r1=67580&r2=67581&view=diff
==============================================================================
--- cfe/trunk/include/clang/Driver/Options.def (original)
+++ cfe/trunk/include/clang/Driver/Options.def Mon Mar 23 19:20:13 2009
@@ -517,7 +517,7 @@
OPTION("-p", p, Flag, INVALID, INVALID, "", 0)
OPTION("-read_only_relocs", read__only__relocs, Separate, INVALID, INVALID, "", 0)
OPTION("-remap", remap, Flag, INVALID, INVALID, "", 0)
-OPTION("-r", r, JoinedOrSeparate, INVALID, INVALID, "", 0)
+OPTION("-r", r, Flag, INVALID, INVALID, "", 0)
OPTION("-save-temps", save_temps, Flag, INVALID, INVALID, "d", 0)
OPTION("-sectalign", sectalign, MultiArg, INVALID, INVALID, "", 3)
OPTION("-sectcreate", sectcreate, MultiArg, INVALID, INVALID, "", 3)
Modified: cfe/trunk/tools/ccc/ccclib/Arguments.py
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/ccc/ccclib/Arguments.py?rev=67581&r1=67580&r2=67581&view=diff
==============================================================================
--- cfe/trunk/tools/ccc/ccclib/Arguments.py (original)
+++ cfe/trunk/tools/ccc/ccclib/Arguments.py Mon Mar 23 19:20:13 2009
@@ -714,7 +714,7 @@
self.emitLLVMOption = self.addOption(FlagOption('-emit-llvm'))
self.eOption = self.addOption(JoinedOrSeparateOption('-e'))
- self.rOption = self.addOption(JoinedOrSeparateOption('-r'))
+ self.rOption = self.addOption(FlagOption('-r'))
self.pgOption = self.addOption(FlagOption('-pg'))
self.pOption = self.addOption(FlagOption('-p'))
More information about the cfe-commits
mailing list