Searched refs:Ancestor (Results 1 – 4 of 4) sorted by relevance
28 static bool AreTypesCompatible(QualType Derived, QualType Ancestor, in AreTypesCompatible() argument33 if (Derived->isAnyPointerType() && Ancestor->isAnyPointerType()) in AreTypesCompatible()36 return C.typesAreCompatible(Derived, Ancestor); in AreTypesCompatible()
526 if (auto *Ancestor = InitialTargetFunc->getNonClosureAncestor()) { in initialize() local527 const auto *SurroundingMethodDecl = cast<CXXMethodDecl>(Ancestor); in initialize()
1375 Scope *Ancestor = S->getParent(); in EnterDeclaratorContext() local1376 while (!Ancestor->getEntity()) Ancestor = Ancestor->getParent(); in EnterDeclaratorContext()1377 assert(Ancestor->getEntity() == CurContext && "ancestor context mismatch"); in EnterDeclaratorContext()1395 Scope *Ancestor = S->getParent(); in ExitDeclaratorContext() local1396 while (!Ancestor->getEntity()) Ancestor = Ancestor->getParent(); in ExitDeclaratorContext()1397 CurContext = Ancestor->getEntity(); in ExitDeclaratorContext()
539 ENUM(DeviceModifier, Ancestor, DeviceNum);