aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-03-13 18:12:01 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-03-13 18:12:01 +0000
commit13135a6171e5eb1dd0b10f49305bb757b8f8b20c (patch)
treedae49d9fdfcdfc1672ddc7c90d7259da7303230e
parent83dd21f6b4e6e109b893c0d42bc81e4883c342f7 (diff)
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
-rw-r--r--include/clang/Driver/Options.def1
-rw-r--r--tools/ccc/ccclib/Arguments.py1
2 files changed, 2 insertions, 0 deletions
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))