Pass fobjc-gc-only and fobjc-gc options down to clang.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50426 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/utils/ccc-analyzer b/utils/ccc-analyzer
index 8db6167..e453cec 100755
--- a/utils/ccc-analyzer
+++ b/utils/ccc-analyzer
@@ -184,7 +184,7 @@
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