]> granicus.if.org Git - clang/commitdiff
ccc-analyzer now properly eats the -install_name, -exported_symbols_list, -current_ve...
authorTed Kremenek <kremenek@apple.com>
Wed, 4 Jun 2008 20:49:03 +0000 (20:49 +0000)
committerTed Kremenek <kremenek@apple.com>
Wed, 4 Jun 2008 20:49:03 +0000 (20:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51965 91177308-0d34-0410-b5e6-96231b3b80d8

utils/ccc-analyzer

index 55f6382e49308b0ffa5a1484a93ae93808bdb837..da85dddc3f389b954ccaf038abed484924fc9329 100755 (executable)
@@ -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