Searched refs:BestPrefixLength (Results 1 – 1 of 1) sorted by relevance
1792 unsigned BestPrefixLength = 0; in suggestPathToFileForDiagnostics() local1818 if (PrefixLength > BestPrefixLength) { in suggestPathToFileForDiagnostics()1819 BestPrefixLength = PrefixLength; in suggestPathToFileForDiagnostics()1843 *IsSystem = BestPrefixLength ? I >= SystemDirIdx : false; in suggestPathToFileForDiagnostics()1848 if (!BestPrefixLength && CheckDir(path::parent_path(MainFile)) && IsSystem) in suggestPathToFileForDiagnostics()1852 return path::convert_to_slash(File.drop_front(BestPrefixLength)); in suggestPathToFileForDiagnostics()