From: Daniel Dunbar Date: Fri, 13 Mar 2009 18:12:01 +0000 (+0000) Subject: ccc/Driver: Forward -fheinous-gnu-extensions to clang. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=13135a6171e5eb1dd0b10f49305bb757b8f8b20c;p=clang ccc/Driver: Forward -fheinous-gnu-extensions to clang. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66915 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Driver/Options.def b/include/clang/Driver/Options.def index 4e6482cfc6..38035b7cc6 100644 --- a/include/clang/Driver/Options.def +++ b/include/clang/Driver/Options.def @@ -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) diff --git a/tools/ccc/ccclib/Arguments.py b/tools/ccc/ccclib/Arguments.py index 4373b17405..07bb61273a 100644 --- a/tools/ccc/ccclib/Arguments.py +++ b/tools/ccc/ccclib/Arguments.py @@ -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))