зеркало из https://github.com/microsoft/clang-1.git
ccc-analyzer now properly eats the -install_name, -exported_symbols_list, -current_version, -compatibility_version, and -sectorder command line arguments.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51965 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
fd5b2ce150
Коммит
49061fab7a
|
@ -241,6 +241,15 @@ def main(args):
|
|||
if arg == '-o':
|
||||
output = args[i+1]
|
||||
i += 1
|
||||
|
||||
# Arguments we currently ignore with one option.
|
||||
if arg in ['-install_name', '-exported_symbols_list',
|
||||
'-current_version', '-compatibility_version']:
|
||||
i += 1
|
||||
|
||||
# Arguments we currently ignore with three options.
|
||||
if arg in ['-sectorder']:
|
||||
i += 3
|
||||
|
||||
i += 1
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче