Searched refs:BestPrefixLength (Results 1 – 1 of 1) sorted by relevance
1895 unsigned BestPrefixLength = 0; in suggestPathToFileForDiagnostics() local1921 if (PrefixLength > BestPrefixLength) { in suggestPathToFileForDiagnostics()1922 BestPrefixLength = PrefixLength; in suggestPathToFileForDiagnostics()1955 *IsSystem = BestPrefixLength && isSystem(DL.getDirCharacteristic()); in suggestPathToFileForDiagnostics()1962 *IsSystem = BestPrefixLength && isSystem(DL.getDirCharacteristic()); in suggestPathToFileForDiagnostics()1970 if (!BestPrefixLength && CheckDir(path::parent_path(MainFile))) { in suggestPathToFileForDiagnostics()1978 StringRef Filename = File.drop_front(BestPrefixLength); in suggestPathToFileForDiagnostics()