reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Support/Path.cpp
   66     if (path.empty())
   67       return path;
   71       if (path.size() >= 2 &&
   72           std::isalpha(static_cast<unsigned char>(path[0])) && path[1] == ':')
   72           std::isalpha(static_cast<unsigned char>(path[0])) && path[1] == ':')
   73         return path.substr(0, 2);
   77     if ((path.size() > 2) && is_separator(path[0], style) &&
   77     if ((path.size() > 2) && is_separator(path[0], style) &&
   78         path[0] == path[1] && !is_separator(path[2], style)) {
   78         path[0] == path[1] && !is_separator(path[2], style)) {
   78         path[0] == path[1] && !is_separator(path[2], style)) {
   80       size_t end = path.find_first_of(separators(style), 2);
   81       return path.substr(0, end);
   85     if (is_separator(path[0], style))
   86       return path.substr(0, 1);
   89     size_t end = path.find_first_of(separators(style));
   90     return path.substr(0, end);