[cfe-commits] r51014 - /cfe/trunk/utils/ccc-analyzer
Ted Kremenek
kremenek at apple.com
Mon May 12 16:56:51 PDT 2008
Author: kremenek
Date: Mon May 12 18:56:50 2008
New Revision: 51014
URL: http://llvm.org/viewvc/llvm-project?rev=51014&view=rev
Log:
Place "-x" option before other analyzer options.
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=51014&r1=51013&r2=51014&view=diff
==============================================================================
--- cfe/trunk/utils/ccc-analyzer (original)
+++ cfe/trunk/utils/ccc-analyzer Mon May 12 18:56:50 2008
@@ -266,7 +266,7 @@
coutput = output
analyze_args = [ file ]
if language != 'unknown':
- analyze_args = analyze_args + [ '-x', language ]
+ analyze_args = [ '-x', language ] + analyze_args
analyze_args = analyze_args + compile_opts
analyze(clang, analyze_args, language, output, files, verbose, htmldir)
# compile(args)
More information about the cfe-commits
mailing list