Home
last modified time | relevance | path

Searched refs:BestPrefixLength (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/clang/lib/Lex/
H A DHeaderSearch.cpp1895 unsigned BestPrefixLength = 0; in suggestPathToFileForDiagnostics() local
1921 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()