Searched refs:getEntity (Results 1 – 17 of 17) sorted by relevance
153 if (S->getEntity()) in updateNRVOCandidate()189 if (!getEntity()) in applyNRVO()250 if (const DeclContext *DC = getEntity()) in dumpImpl()
112 while (S->getEntity() && in isDeclInScope()113 (S->getEntity()->isTransparentContext() || in isDeclInScope()114 (!LangOpt.CPlusPlus && isa<RecordDecl>(S->getEntity())))) in isDeclInScope()
111 DeclContext *InnermostFileDC = InnermostFileScope->getEntity(); in visitScopeChain()118 DeclContext *Ctx = S->getEntity(); in visitScopeChain()1235 if (DeclContext *Ctx = S->getEntity()) in isNamespaceOrTranslationUnitScope()1281 if (DeclContext *DC = PreS->getEntity()) in CppLookupName()1350 if (auto *Record = dyn_cast_if_present<CXXRecordDecl>(S->getEntity())) in CppLookupName()2195 (S->getEntity() && S->getEntity()->isTransparentContext())) in LookupName()4323 if (!S->getEntity() || in lookupInScope()4324 (!S->getParent() && !Visited.alreadyVisitedContext(S->getEntity())) || in lookupInScope()4325 (S->getEntity())->isFunctionOrMethod()) { in lookupInScope()
322 if (CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(S->getEntity())) in ActOnSuperScopeSpecifier()327 RD = cast<CXXRecordDecl>(S->getEntity()); in ActOnSuperScopeSpecifier()
1421 assert(!S->getEntity() && "scope already has entity"); in EnterDeclaratorContext()1440 assert(S->getEntity() == CurContext && "Context imbalance!"); in ExitDeclaratorContext()1446 CurContext = Ancestor->getEntity(); in ExitDeclaratorContext()1566 while (S->getEntity() && S->getEntity()->isTransparentContext()) in PushOnScopeChains()1628 if (DeclContext *ScopeDC = S->getEntity()) in getScopeForDeclContext()2405 (S->getEntity() && S->getEntity()->isTransparentContext()) || in getNonFieldDeclScope()9776 (S->getEntity() && S->getEntity()->isTransparentContext())) in getTagInjectionScope()16469 while (!ContextScope->getEntity() || in ImplicitlyDefineFunction()16470 (!ContextScope->getEntity()->isFunctionOrMethod() && in ImplicitlyDefineFunction()16471 !ContextScope->getEntity()->isTranslationUnit())) in ImplicitlyDefineFunction()[all …]
5193 if (DeclContext *Ctx = DepScope->getEntity()) { in AddRecordMembersCompletionResults()5548 return Inner ? Inner->getEntity() : nullptr; in getTemplatedEntity()6665 if (S->getEntity()) { in CodeCompleteQualifiedId()6666 CodeCompletionDeclConsumer Consumer(DummyResults, S->getEntity(), in CodeCompleteQualifiedId()6789 DeclContext *Ctx = S->getEntity(); in CodeCompleteNamespaceDecl()7036 DeclContext *DC = S->getEntity(); in isNamespaceScope()9585 if (DeclContext *DC = S->getEntity()) in CodeCompleteObjCMethodDecl()
2144 if (DeclContext *Entity = S->getEntity()) in getScopeForContext()
428 Destroyed = dyn_cast_or_null<CXXRecordDecl>(S->getEntity()); in getDestructorName()
8543 DeclContext *Ctx = S->getEntity(); in CheckTemplateDeclScope()
12269 DeclContext *Ctx = S->getEntity(); in PushUsingDirective()
85 const DINode *getEntity() const { return Entity; } in getEntity() function247 return cast<DILocalVariable>(getEntity()); in getVariable()299 const DILabel *getLabel() const { return cast<DILabel>(getEntity()); } in getLabel()
1331 auto *Entity = Module->getEntity(); in constructImportedEntityDIE()1410 DbgEntity *AbsEntity = getExistingAbstractEntity(Entity->getEntity()); in finishEntityDefinition()
365 DeclContext *getEntity() const { in getEntity() function
3506 return getTemporary(getContext(), getTag(), getScope(), getEntity(),3526 DINode *getEntity() const { return cast_or_null<DINode>(getRawEntity()); }
223 auto *Entity = Import->getEntity(); in processCompileUnit()
1690 Record.push_back(VE.getMetadataOrNullID(N->getEntity())); in writeDIImportedEntity()
2185 Record.push_back(VE.getMetadataOrNullID(N->getEntity())); in writeDIImportedEntity()