[cfe-commits] r66915 - in /cfe/trunk: include/clang/Driver/Options.def tools/ccc/ccclib/Arguments.py

Daniel Dunbar daniel at zuster.org
Fri Mar 13 11:12:01 PDT 2009


Author: ddunbar
Date: Fri Mar 13 13:12:01 2009
New Revision: 66915

URL: http://llvm.org/viewvc/llvm-project?rev=66915&view=rev
Log:
ccc/Driver: Forward -fheinous-gnu-extensions to clang.

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=66915&r1=66914&r2=66915&view=diff

==============================================================================
--- cfe/trunk/include/clang/Driver/Options.def (original)
+++ cfe/trunk/include/clang/Driver/Options.def Fri Mar 13 13:12:01 2009
@@ -328,6 +328,7 @@
 OPTION("-ffreestanding", ffreestanding, Flag, clang_f_Group, INVALID, "", 0)
 OPTION("-fgnu-runtime", fgnu_runtime, Flag, clang_f_Group, INVALID, "", 0)
 OPTION("-filelist", filelist, Separate, INVALID, INVALID, "l", 0)
+OPTION("-fheinous-gnu-extensions", fheinous_gnu_extensions, Flag, INVALID, INVALID, "", 0)
 OPTION("-findirect-virtual-calls", findirect_virtual_calls, Flag, f_Group, INVALID, "", 0)
 OPTION("-flat_namespace", flat__namespace, Flag, INVALID, INVALID, "", 0)
 OPTION("-flax-vector-conversions", flax_vector_conversions, Flag, clang_f_Group, INVALID, "", 0)

Modified: cfe/trunk/tools/ccc/ccclib/Arguments.py
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/ccc/ccclib/Arguments.py?rev=66915&r1=66914&r2=66915&view=diff

==============================================================================
--- cfe/trunk/tools/ccc/ccclib/Arguments.py (original)
+++ cfe/trunk/tools/ccc/ccclib/Arguments.py Fri Mar 13 13:12:01 2009
@@ -814,6 +814,7 @@
         self.f_extdirsOption = self.addOption(JoinedOption('-fextdirs=', self.fGroup))
         self.f_freestandingOption = self.addOption(FlagOption('-ffreestanding', self.Clang_fGroup))
         self.f_gnuRuntimeOption = self.addOption(FlagOption('-fgnu-runtime', self.Clang_fGroup))
+        self.addOption(FlagOption('-fheinous-gnu-extensions', self.Clang_fGroup))
         self.f_indirectVirtualCallsOption = self.addOption(FlagOption('-findirect-virtual-calls', self.fGroup))
         self.f_laxVectorConversionsOption = self.addOption(FlagOption('-flax-vector-conversions', self.Clang_fGroup))
         self.f_limitedPrecisionOption = self.addOption(JoinedOption('-flimited-precision=', self.fGroup))





More information about the cfe-commits mailing list