Home
last modified time | relevance | path

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

/external/clang/lib/Lex/
DHeaderSearch.cpp1437 unsigned BestPrefixLength = 0; in suggestPathToFileForDiagnostics() local
1464 if (PrefixLength > BestPrefixLength) { in suggestPathToFileForDiagnostics()
1465 BestPrefixLength = PrefixLength; in suggestPathToFileForDiagnostics()
1477 *IsSystem = BestPrefixLength ? BestSearchDir >= SystemDirIdx : false; in suggestPathToFileForDiagnostics()
1478 return Name + BestPrefixLength; in suggestPathToFileForDiagnostics()
/external/llvm-project/clang/lib/Lex/
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()