MCPcopy Index your code
hub / github.com/cpplint/cpplint / _IsSourceExtension

Function _IsSourceExtension

cpplint.py:1207–1209  ·  view source on GitHub ↗

File extension (excluding dot) matches a source file extension.

(s)

Source from the content-addressed store, hash-verified

1205
1206
1207def _IsSourceExtension(s):
1208 """File extension (excluding dot) matches a source file extension."""
1209 return s in GetNonHeaderExtensions()
1210
1211
1212class _IncludeState:

Callers 2

IsSourceMethod · 0.85
ProcessFileDataFunction · 0.85

Calls 1

GetNonHeaderExtensionsFunction · 0.85

Tested by

no test coverage detected