Searched refs:BestPath (Results 1 – 5 of 5) sorted by relevance
940 CXXBasePath *BestPath = nullptr; in FindBestPath() local989 if (BestPath == nullptr || PathAccess < BestPath->Access) { in FindBestPath()990 BestPath = &*PI; in FindBestPath()991 BestPath->Access = PathAccess; in FindBestPath()994 if (BestPath->Access == AS_public) in FindBestPath()995 return BestPath; in FindBestPath()1001 assert((!BestPath || BestPath->Access != AS_public) && in FindBestPath()1009 return BestPath; in FindBestPath()
1308 CXXBasePath *BestPath = nullptr; in findDecomposableBaseClass() local1310 if (!BestPath) in findDecomposableBaseClass()1311 BestPath = &P; in findDecomposableBaseClass()1313 BestPath->back().Base->getType())) { in findDecomposableBaseClass()1316 << false << RD << BestPath->back().Base->getType() in findDecomposableBaseClass()1319 } else if (P.Access < BestPath->Access) { in findDecomposableBaseClass()1320 BestPath = &P; in findDecomposableBaseClass()1325 QualType BaseType = BestPath->back().Base->getType(); in findDecomposableBaseClass()1334 *BestPath, diag::err_decomp_decl_inaccessible_base); in findDecomposableBaseClass()1335 AS = BestPath->Access; in findDecomposableBaseClass()
941 CXXBasePath *BestPath = nullptr; in FindBestPath() local990 if (BestPath == nullptr || PathAccess < BestPath->Access) { in FindBestPath()991 BestPath = &*PI; in FindBestPath()992 BestPath->Access = PathAccess; in FindBestPath()995 if (BestPath->Access == AS_public) in FindBestPath()996 return BestPath; in FindBestPath()1002 assert((!BestPath || BestPath->Access != AS_public) && in FindBestPath()1010 return BestPath; in FindBestPath()
3508 const FullPathTy *BestPath = nullptr; in selectBestPath() local3548 BestPath = &SpecificPath; in selectBestPath()3565 return BestPath ? BestPath : &FullPaths.front(); in selectBestPath()3582 if (const FullPathTy *BestPath = in computeFullPathsForVFTables() local3584 for (const BaseSubobject &BSO : *BestPath) in computeFullPathsForVFTables()
3488 const FullPathTy *BestPath = nullptr; in selectBestPath() local3529 BestPath = &SpecificPath; in selectBestPath()3546 return BestPath ? BestPath : &FullPaths.front(); in selectBestPath()3563 if (const FullPathTy *BestPath = in computeFullPathsForVFTables() local3565 for (const BaseSubobject &BSO : *BestPath) in computeFullPathsForVFTables()