]> granicus.if.org Git - clang/commitdiff
ccc/Driver: Forward -fheinous-gnu-extensions to clang.
authorDaniel Dunbar <daniel@zuster.org>
Fri, 13 Mar 2009 18:12:01 +0000 (18:12 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Fri, 13 Mar 2009 18:12:01 +0000 (18:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66915 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Driver/Options.def
tools/ccc/ccclib/Arguments.py

index 4e6482cfc6cb0c4dc9a20071fac6a6ba77eadaff..38035b7cc61c96bfaf7b433301e5a54fabd13cb2 100644 (file)
@@ -328,6 +328,7 @@ OPTION("-fextdirs=", fextdirs_EQ, Joined, f_Group, INVALID, "", 0)
 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)
index 4373b17405b067e2814b59432c791f9fbc08d3d2..07bb61273ab789321f7bc112caf133ba942b9e3a 100644 (file)
@@ -814,6 +814,7 @@ class OptionParser:
         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))