[cfe-commits] r50540 - /cfe/trunk/utils/ccc-analyzer
Ted Kremenek
kremenek at apple.com
Thu May 1 14:26:22 PDT 2008
Author: kremenek
Date: Thu May 1 16:26:22 2008
New Revision: 50540
URL: http://llvm.org/viewvc/llvm-project?rev=50540&view=rev
Log:
Add missing "-" that prefix arguments to forward to clang.
Modified:
cfe/trunk/utils/ccc-analyzer
Modified: cfe/trunk/utils/ccc-analyzer
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/ccc-analyzer?rev=50540&r1=50539&r2=50540&view=diff
==============================================================================
--- cfe/trunk/utils/ccc-analyzer (original)
+++ cfe/trunk/utils/ccc-analyzer Thu May 1 16:26:22 2008
@@ -184,11 +184,11 @@
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
More information about the cfe-commits
mailing list