Searched refs:BestPrefixLength (Results 1 – 1 of 1) sorted by relevance
2058 unsigned BestPrefixLength = 0; in suggestPathToFileForDiagnostics() local2072 if (PrefixLength > BestPrefixLength) { in suggestPathToFileForDiagnostics()2073 BestPrefixLength = PrefixLength; in suggestPathToFileForDiagnostics()2106 *IsAngled = BestPrefixLength && isSystem(DL.getDirCharacteristic()); in suggestPathToFileForDiagnostics()2114 *IsAngled = BestPrefixLength; in suggestPathToFileForDiagnostics()2122 if (!BestPrefixLength && CheckDir(path::parent_path(MainFile))) { in suggestPathToFileForDiagnostics()2130 StringRef Filename = File.drop_front(BestPrefixLength); in suggestPathToFileForDiagnostics()