Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaAccess.cpp954 CXXBasePath *BestPath = nullptr; in FindBestPath() local
1003 if (BestPath == nullptr || PathAccess < BestPath->Access) { in FindBestPath()
1004 BestPath = &*PI; in FindBestPath()
1005 BestPath->Access = PathAccess; in FindBestPath()
1008 if (BestPath->Access == AS_public) in FindBestPath()
1009 return BestPath; in FindBestPath()
1015 assert((!BestPath || BestPath->Access != AS_public) && in FindBestPath()
1023 return BestPath; in FindBestPath()
H A DSemaDeclCXX.cpp1325 CXXBasePath *BestPath = nullptr; in findDecomposableBaseClass() local
1327 if (!BestPath) in findDecomposableBaseClass()
1328 BestPath = &P; in findDecomposableBaseClass()
1330 BestPath->back().Base->getType())) { in findDecomposableBaseClass()
1333 << false << RD << BestPath->back().Base->getType() in findDecomposableBaseClass()
1336 } else if (P.Access < BestPath->Access) { in findDecomposableBaseClass()
1337 BestPath = &P; in findDecomposableBaseClass()
1342 QualType BaseType = BestPath->back().Base->getType(); in findDecomposableBaseClass()
1351 *BestPath, diag::err_decomp_decl_inaccessible_base); in findDecomposableBaseClass()
1352 AS = BestPath->Access; in findDecomposableBaseClass()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DVTableBuilder.cpp3508 const FullPathTy *BestPath = nullptr; in selectBestPath() local
3548 BestPath = &SpecificPath; in selectBestPath()
3565 return BestPath ? BestPath : &FullPaths.front(); in selectBestPath()
3582 if (const FullPathTy *BestPath = in computeFullPathsForVFTables() local
3584 for (const BaseSubobject &BSO : *BestPath) in computeFullPathsForVFTables()