зеркало из https://github.com/microsoft/clang-1.git
Skip a few more files and linker options.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52189 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
07665dae8b
Коммит
cd85348a93
|
@ -84,7 +84,7 @@ def analyze(clang, args,language,output,files,verbose,htmldir,file,analysis_type
|
|||
print >> sys.stderr, ' '.join(command+print_args)
|
||||
print >> sys.stderr, '\n'
|
||||
|
||||
subprocess.call(args)
|
||||
# subprocess.call(args)
|
||||
|
||||
def extension(path):
|
||||
return path.split(".")[-1]
|
||||
|
@ -110,7 +110,7 @@ def inferlanguage(extension):
|
|||
return "objective-c"
|
||||
elif extension == "mi":
|
||||
return "objective-c-cpp-output"
|
||||
elif extension == "s" or extension == "o":
|
||||
elif extension in [ "s", "o", "a", "so" ]:
|
||||
return "skip"
|
||||
else:
|
||||
return "unknown"
|
||||
|
@ -245,7 +245,7 @@ def main(args):
|
|||
# Arguments we currently ignore with one option.
|
||||
if arg in ['-install_name', '-exported_symbols_list',
|
||||
'-current_version', '-compatibility_version', '-init', '-e',
|
||||
'-seg1addr']:
|
||||
'-seg1addr', '-bundle_loader', '-multiply_defined']:
|
||||
i += 1
|
||||
|
||||
# Arguments we currently ignore with three options.
|
||||
|
|
Загрузка…
Ссылка в новой задаче