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
diff --git a/utils/ccc-analyzer b/utils/ccc-analyzer
index 55f6382..da85ddd 100755
--- a/utils/ccc-analyzer
+++ b/utils/ccc-analyzer
@@ -241,6 +241,15 @@
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