From: Ted Kremenek Date: Mon, 12 May 2008 23:56:50 +0000 (+0000) Subject: Place "-x" option before other analyzer options. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7edbce2e556e3626f9adb59ed213d569ec10e793;p=clang Place "-x" option before other analyzer options. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51014 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/ccc-analyzer b/utils/ccc-analyzer index 7a5f321548..228f8e93c8 100755 --- a/utils/ccc-analyzer +++ b/utils/ccc-analyzer @@ -266,7 +266,7 @@ def main(args): 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)