MCPcopy Create free account
hub / github.com/dfranx/ShaderDebugger / AddSearchPath

Method AddSearchPath

libs/wgtcc/cpp.cc:935–941  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

933
934
935 void Preprocessor::AddSearchPath(std::string path) {
936 if (path.back() != '/')
937 path += "/";
938 if (path[0] != '/')
939 path = "./" + path;
940 searchPaths_.push_front(path);
941 }
942}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected