Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/Sema/
DSemaAccess.cpp940 CXXBasePath *BestPath = nullptr; in FindBestPath() local
989 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()
DSemaDeclCXX.cpp1308 CXXBasePath *BestPath = nullptr; in findDecomposableBaseClass() local
1310 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()
/external/clang/lib/Sema/
DSemaAccess.cpp941 CXXBasePath *BestPath = nullptr; in FindBestPath() local
990 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()
/external/llvm-project/clang/lib/AST/
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()
/external/clang/lib/AST/
DVTableBuilder.cpp3488 const FullPathTy *BestPath = nullptr; in selectBestPath() local
3529 BestPath = &SpecificPath; in selectBestPath()
3546 return BestPath ? BestPath : &FullPaths.front(); in selectBestPath()
3563 if (const FullPathTy *BestPath = in computeFullPathsForVFTables() local
3565 for (const BaseSubobject &BSO : *BestPath) in computeFullPathsForVFTables()