]> granicus.if.org Git - clang/commitdiff
Pass fobjc-gc-only and fobjc-gc options down to clang.
authorTed Kremenek <kremenek@apple.com>
Tue, 29 Apr 2008 16:24:23 +0000 (16:24 +0000)
committerTed Kremenek <kremenek@apple.com>
Tue, 29 Apr 2008 16:24:23 +0000 (16:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50426 91177308-0d34-0410-b5e6-96231b3b80d8

utils/ccc-analyzer

index 8db6167af077a5622651f04a1f3e6a7dc7eb0201..e453cec4a2c9ec4aeee1716dd30f8e4eb0a772a3 100755 (executable)
@@ -184,7 +184,7 @@ def main(args):
             i += 1
             
         # Options with no argument that should pass through to compiler
-        if arg == '-nostdinc':
+        if arg in [ '-nostdinc', 'fobjc-gc-only', 'fobjc-gc' ]:
           compile_opts.append(arg)          
 
         # Options with one argument that should pass through to linker