Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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.cpp1324 CXXBasePath *BestPath = nullptr; in findDecomposableBaseClass() local
1326 if (!BestPath) in findDecomposableBaseClass()
1327 BestPath = &P; in findDecomposableBaseClass()
1329 BestPath->back().Base->getType())) { in findDecomposableBaseClass()
1332 << false << RD << BestPath->back().Base->getType() in findDecomposableBaseClass()
1335 } else if (P.Access < BestPath->Access) { in findDecomposableBaseClass()
1336 BestPath = &P; in findDecomposableBaseClass()
1341 QualType BaseType = BestPath->back().Base->getType(); in findDecomposableBaseClass()
1350 *BestPath, diag::err_decomp_decl_inaccessible_base); in findDecomposableBaseClass()
1351 AS = BestPath->Access; in findDecomposableBaseClass()
/llvm-project-15.0.7/clang/lib/AST/
H A DVTableBuilder.cpp3504 const FullPathTy *BestPath = nullptr; in selectBestPath() local
3544 BestPath = &SpecificPath; in selectBestPath()
3561 return BestPath ? BestPath : &FullPaths.front(); in selectBestPath()
3578 if (const FullPathTy *BestPath = in computeFullPathsForVFTables() local
3580 for (const BaseSubobject &BSO : *BestPath) in computeFullPathsForVFTables()