MCPcopy Create free account
hub / github.com/beefytech/Beef / FixFilePath

Function FixFilePath

IDEHelper/Clang/CDepChecker.cpp:420–429  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

418}
419
420static void FixFilePath(String& fileName)
421{
422 for (int i = 0; i < (int)fileName.length(); i++)
423 if (fileName[i] == DIR_SEP_CHAR_ALT)
424 fileName[i] = DIR_SEP_CHAR;
425#ifdef _WIN32
426 else
427 fileName[i] = (char)::toupper((uint8)fileName[i]);
428#endif
429}
430
431static int gCheckCount = 0;
432

Callers 3

AddFileMethod · 0.85
CDep_GetIncludePositionFunction · 0.85

Calls 1

lengthMethod · 0.45

Tested by

no test coverage detected