Have ccc-analyzer skip any files with an unknown (or absent) extension.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@53114 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Ted Kremenek 2008-07-03 22:24:10 +00:00
Родитель d1eb916ee5
Коммит 1c6f3b274c
1 изменённых файлов: 3 добавлений и 1 удалений

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

@ -112,7 +112,9 @@ def inferlanguage(extension):
elif extension in [ "s", "o", "a", "so" ]:
return "skip"
else:
return "unknown"
return "skip" # Skip files with unknown extensions. This
# deviates from ccc, but this works very well for
# the analyzer.
def main(args):
old_args = args