MCPcopy Create free account
hub / github.com/DFHack/dfhack / IsHeaderFile

Function IsHeaderFile

.ycm_extra_conf.py:88–90  ·  view source on GitHub ↗
(filename)

Source from the content-addressed store, hash-verified

86
87
88def IsHeaderFile(filename):
89 extension = os.path.splitext(filename)[1]
90 return extension in ['.h', '.hxx', '.hpp', '.hh']
91
92
93SOURCE_EXTENSIONS = ['.cpp', '.cxx', '.cc', '.c', '.m', '.mm']

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected