зеркало из https://github.com/microsoft/clang-1.git
Place "-x" option before other analyzer options.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51014 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
3319600871
Коммит
7edbce2e55
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче