summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-05-01 21:26:22 +0000
committerTed Kremenek <kremenek@apple.com>2008-05-01 21:26:22 +0000
commit4f3d7cd12e1a6771d48daa5844762e69614684d7 (patch)
tree03217147a3a72f1ba5f1f81aaaff18a2cdac7c0b /clang
parent694dda1e4e0ca1644573bb1e97903d7a01faa3fe (diff)
downloadbcm5719-llvm-4f3d7cd12e1a6771d48daa5844762e69614684d7.tar.gz
bcm5719-llvm-4f3d7cd12e1a6771d48daa5844762e69614684d7.zip
Add missing "-" that prefix arguments to forward to clang.
llvm-svn: 50540
Diffstat (limited to 'clang')
-rwxr-xr-xclang/utils/ccc-analyzer4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/utils/ccc-analyzer b/clang/utils/ccc-analyzer
index e453cec4a2c..d19955381e6 100755
--- a/clang/utils/ccc-analyzer
+++ b/clang/utils/ccc-analyzer
@@ -184,11 +184,11 @@ def main(args):
i += 1
# Options with no argument that should pass through to compiler
- if arg in [ '-nostdinc', 'fobjc-gc-only', 'fobjc-gc' ]:
+ if arg in [ '-nostdinc', '-fobjc-gc-only', '-fobjc-gc' ]:
compile_opts.append(arg)
# Options with one argument that should pass through to linker
- if arg == 'framework':
+ if arg == '-framework':
link_opts.append(arg)
link_opts.append(args[i+1])
i += 1
OpenPOWER on IntegriCloud