summaryrefslogtreecommitdiffstats
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
commit52183091f1885270e1a167d24f6573a6e4ceb4a7 (patch)
treeb9c5cc01e16e2154611b60b0f69a50664ade4789
parentc5a5ac5015584478ce89059757674b27661fe89c (diff)
downloadbcm5719-llvm-52183091f1885270e1a167d24f6573a6e4ceb4a7.tar.gz
bcm5719-llvm-52183091f1885270e1a167d24f6573a6e4ceb4a7.zip
ccc/Driver: Forward -fheinous-gnu-extensions to clang.
llvm-svn: 66915
-rw-r--r--clang/include/clang/Driver/Options.def1
-rw-r--r--clang/tools/ccc/ccclib/Arguments.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/clang/include/clang/Driver/Options.def b/clang/include/clang/Driver/Options.def
index 4e6482cfc6c..38035b7cc61 100644
--- a/clang/include/clang/Driver/Options.def
+++ b/clang/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/clang/tools/ccc/ccclib/Arguments.py b/clang/tools/ccc/ccclib/Arguments.py
index 4373b17405b..07bb61273ab 100644
--- a/clang/tools/ccc/ccclib/Arguments.py
+++ b/clang/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))
OpenPOWER on IntegriCloud