git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51121 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Ted Kremenek 2008-05-14 20:17:17 +00:00
Родитель 1e6d14fdd2
Коммит bfd6a3fbc1
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -122,6 +122,8 @@ def inferlanguage(extension):
return "objective-c"
elif extension == "mi":
return "objective-c-cpp-output"
elif extention == "s":
return "skip"
else:
return "unknown"
@ -265,6 +267,9 @@ def main(args):
for i, file in enumerate(files):
if not language:
language = inferlanguage(extension(file))
if language == "skip":
continue
if save_temps and action != "compile":
# Need a temporary output file
coutput = changeextension(file, "o");