()
| 942 | return file_extension in GetHeaderExtensions() |
| 943 | |
| 944 | def GetHeaderExtensions(): |
| 945 | if _hpp_headers: |
| 946 | return _hpp_headers |
| 947 | if _valid_extensions: |
| 948 | return {h for h in _valid_extensions if 'h' in h} |
| 949 | return set(['h', 'hh', 'hpp', 'hxx', 'h++', 'cuh']) |
| 950 | |
| 951 | # The allowed extensions for file names |
| 952 | # This is set by --extensions flag |
no test coverage detected