Searched refs:BestPrefixLength (Results 1 – 1 of 1) sorted by relevance
2089 unsigned BestPrefixLength = 0; in suggestPathToFileForDiagnostics() local2103 if (PrefixLength > BestPrefixLength) { in suggestPathToFileForDiagnostics()2104 BestPrefixLength = PrefixLength; in suggestPathToFileForDiagnostics()2137 *IsAngled = BestPrefixLength && isSystem(DL.getDirCharacteristic()); in suggestPathToFileForDiagnostics()2145 *IsAngled = BestPrefixLength; in suggestPathToFileForDiagnostics()2153 if (!BestPrefixLength && CheckDir(path::parent_path(MainFile))) { in suggestPathToFileForDiagnostics()2161 StringRef Filename = File.drop_front(BestPrefixLength); in suggestPathToFileForDiagnostics()