зеркало из https://github.com/microsoft/clang-1.git
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:
Родитель
d1eb916ee5
Коммит
1c6f3b274c
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче