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

Method AddSearchPath

IDEHelper/Linker/BlContext.cpp:1817–1827  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1815}
1816
1817void BlContext::AddSearchPath(const StringImpl& directory)
1818{
1819 String dir = directory;
1820 if (!dir.empty())
1821 {
1822 char endC = dir[dir.length() - 1];
1823 if ((endC != '\\') && (endC != '/'))
1824 dir += "\\";
1825 }
1826 mSearchPaths.push_back(dir);
1827}
1828
1829bool BlContext::DoAddFile(const StringImpl& path, BlObjectDataKind objectDataKind)
1830{

Callers 1

BlContext_AddSearchPathFunction · 0.80

Calls 3

emptyMethod · 0.45
lengthMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected