Skip to content

Commit 4f5eea2

Browse files
committed
Add '.inl' as possible c source.
There is an issue with those as they are typically not meant as stand alone sources. Nonetheless, the tool should just gracefully warn on failure.
1 parent 6dd21b4 commit 4f5eea2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

refresh.template.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ def _get_files(compile_action):
691691
_get_files.has_logged_missing_file_error = False
692692
# Setup extensions and flags for the whole C-language family.
693693
# Clang has a list: https://github.com/llvm/llvm-project/blob/b9f3b7f89a4cb4cf541b7116d9389c73690f78fa/clang/lib/Driver/Types.cpp#L293
694-
_get_files.c_source_extensions = ('.c', '.i', '.h')
694+
_get_files.c_source_extensions = ('.c', '.i', '.h', '.inl')
695695
_get_files.cpp_source_extensions = ('.cc', '.cpp', '.cxx', '.c++', '.C', '.CC', '.cp', '.CPP', '.C++', '.CXX', '.ii', '.hh', '.hpp', '.hxx')
696696
_get_files.objc_source_extensions = ('.m',)
697697
_get_files.objcpp_source_extensions = ('.mm', '.M')

0 commit comments

Comments
 (0)