Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaAccess.cpp962 CXXBasePath *BestPath = nullptr; in FindBestPath() local
1011 if (BestPath == nullptr || PathAccess < BestPath->Access) { in FindBestPath()
1012 BestPath = &*PI; in FindBestPath()
1013 BestPath->Access = PathAccess; in FindBestPath()
1016 if (BestPath->Access == AS_public) in FindBestPath()
1017 return BestPath; in FindBestPath()
1023 assert((!BestPath || BestPath->Access != AS_public) && in FindBestPath()
1031 return BestPath; in FindBestPath()
H A DSemaDeclCXX.cpp1377 CXXBasePath *BestPath = nullptr; in findDecomposableBaseClass() local
1379 if (!BestPath) in findDecomposableBaseClass()
1380 BestPath = &P; in findDecomposableBaseClass()
1382 BestPath->back().Base->getType())) { in findDecomposableBaseClass()
1385 << false << RD << BestPath->back().Base->getType() in findDecomposableBaseClass()
1388 } else if (P.Access < BestPath->Access) { in findDecomposableBaseClass()
1389 BestPath = &P; in findDecomposableBaseClass()
1394 QualType BaseType = BestPath->back().Base->getType(); in findDecomposableBaseClass()
1403 *BestPath, diag::err_decomp_decl_inaccessible_base); in findDecomposableBaseClass()
1404 AS = BestPath in findDecomposableBaseClass()
[all...]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DVTableBuilder.cpp3601 const FullPathTy *BestPath = nullptr; in selectBestPath() local
3641 BestPath = &SpecificPath; in selectBestPath()
3658 return BestPath ? BestPath : &FullPaths.front(); in selectBestPath()
3675 if (const FullPathTy *BestPath = in computeFullPathsForVFTables() local
3677 for (const BaseSubobject &BSO : *BestPath) in computeFullPathsForVFTables()