Home
last modified time | relevance | path

Searched refs:getEntity (Results 1 – 17 of 17) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DScope.cpp153 if (S->getEntity()) in updateNRVOCandidate()
189 if (!getEntity()) in applyNRVO()
250 if (const DeclContext *DC = getEntity()) in dumpImpl()
H A DIdentifierResolver.cpp112 while (S->getEntity() && in isDeclInScope()
113 (S->getEntity()->isTransparentContext() || in isDeclInScope()
114 (!LangOpt.CPlusPlus && isa<RecordDecl>(S->getEntity())))) in isDeclInScope()
H A DSemaLookup.cpp111 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()
H A DSemaCXXScopeSpec.cpp322 if (CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(S->getEntity())) in ActOnSuperScopeSpecifier()
327 RD = cast<CXXRecordDecl>(S->getEntity()); in ActOnSuperScopeSpecifier()
H A DSemaDecl.cpp1421 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 …]
H A DSemaCodeComplete.cpp5193 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()
H A DSema.cpp2144 if (DeclContext *Entity = S->getEntity()) in getScopeForContext()
H A DSemaExprCXX.cpp428 Destroyed = dyn_cast_or_null<CXXRecordDecl>(S->getEntity()); in getDestructorName()
H A DSemaTemplate.cpp8543 DeclContext *Ctx = S->getEntity(); in CheckTemplateDeclScope()
H A DSemaDeclCXX.cpp12269 DeclContext *Ctx = S->getEntity(); in PushUsingDirective()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.h85 const DINode *getEntity() const { return Entity; } in getEntity() function
247 return cast<DILocalVariable>(getEntity()); in getVariable()
299 const DILabel *getLabel() const { return cast<DILabel>(getEntity()); } in getLabel()
H A DDwarfCompileUnit.cpp1331 auto *Entity = Module->getEntity(); in constructImportedEntityDIE()
1410 DbgEntity *AbsEntity = getExistingAbstractEntity(Entity->getEntity()); in finishEntityDefinition()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DScope.h365 DeclContext *getEntity() const { in getEntity() function
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h3506 return getTemporary(getContext(), getTag(), getScope(), getEntity(),
3526 DINode *getEntity() const { return cast_or_null<DINode>(getRawEntity()); }
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DDebugInfo.cpp223 auto *Entity = Import->getEntity(); in processCompileUnit()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp1690 Record.push_back(VE.getMetadataOrNullID(N->getEntity())); in writeDIImportedEntity()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp2185 Record.push_back(VE.getMetadataOrNullID(N->getEntity())); in writeDIImportedEntity()