Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/
H A DHeaderSearch.cpp1792 unsigned BestPrefixLength = 0; in suggestPathToFileForDiagnostics() local
1818 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()