diff options
author | Mike Stump <mrs@apple.com> | 2009-01-30 08:22:07 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-01-30 08:22:07 +0000 |
commit | b55cc635f545de2ed23a8f81b45b55b89a4ee3ef (patch) | |
tree | ad9cdd0f173803a4a0c8f413f8fbb9794a588fc6 /tools/ccc/ccclib/Arguments.py | |
parent | 8562ae74ae0ff0a64b46ef5ebea8e7ce0f76fa00 (diff) |
Add -fno-blocks support. This fixes block-no-block-def.c.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63385 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/ccc/ccclib/Arguments.py')
-rw-r--r-- | tools/ccc/ccclib/Arguments.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/ccc/ccclib/Arguments.py b/tools/ccc/ccclib/Arguments.py index 0f258cfda4..dcf1e70188 100644 --- a/tools/ccc/ccclib/Arguments.py +++ b/tools/ccc/ccclib/Arguments.py @@ -768,6 +768,11 @@ class OptionParser: # want to avoid passing them to gcc/cc1 (which will generally # not eat them), or should we let the user sort it out. + self.fblocksGroup = OptionGroup('-fblocks') + self.f_blocks = self.addOption(FlagOption('-fblocks', self.fblocksGroup)) + self.f_noblocks = self.addOption(FlagOption('-fno-blocks', self.fblocksGroup)) + # self.fblocksOption = self.addOption(JoinedOption('-fblocks', self.fblocksGroup)) + self.fGroup = OptionGroup('-f') self.fastOption = self.addOption(FlagOption('-fast', self.fGroup)) self.fastfOption = self.addOption(FlagOption('-fastf', self.fGroup)) |