MCPcopy Create free account
hub / github.com/apache/nuttx / get_compiler

Function get_compiler

tools/mkdeps.c:141–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139 ****************************************************************************/
140
141static compiler_t get_compiler(char *ccname)
142{
143 if (strstr(ccname, "ctc") != NULL)
144 {
145 return COMPILER_TASKING;
146 }
147
148 return COMPILER_GNU;
149}
150
151/* MinGW does not seem to provide strtok_r */
152

Callers 1

do_dependencyFunction · 0.70

Calls 1

strstrFunction · 0.85

Tested by

no test coverage detected