[cfe-commits] r51965 - /cfe/trunk/utils/ccc-analyzer
Ted Kremenek
kremenek at apple.com
Wed Jun 4 13:49:03 PDT 2008
Author: kremenek
Date: Wed Jun 4 15:49:03 2008
New Revision: 51965
URL: http://llvm.org/viewvc/llvm-project?rev=51965&view=rev
Log:
ccc-analyzer now properly eats the -install_name, -exported_symbols_list, -current_version, -compatibility_version, and -sectorder command line arguments.
Modified:
cfe/trunk/utils/ccc-analyzer
Modified: cfe/trunk/utils/ccc-analyzer
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/ccc-analyzer?rev=51965&r1=51964&r2=51965&view=diff
==============================================================================
--- cfe/trunk/utils/ccc-analyzer (original)
+++ cfe/trunk/utils/ccc-analyzer Wed Jun 4 15:49:03 2008
@@ -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
More information about the cfe-commits
mailing list