Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DScope.cpp156 if (S->getEntity()) in updateNRVOCandidate()
192 if (!getEntity()) in applyNRVO()
259 if (const DeclContext *DC = getEntity()) in dumpImpl()
H A DSemaLookup.cpp113 DeclContext *InnermostFileDC = InnermostFileScope->getEntity(); in visitScopeChain()
120 DeclContext *Ctx = S->getEntity(); in visitScopeChain()
1235 if (DeclContext *Ctx = S->getEntity()) in isNamespaceOrTranslationUnitScope()
1281 if (DeclContext *DC = PreS->getEntity()) in CppLookupName()
1362 if (auto *Record = dyn_cast_if_present<CXXRecordDecl>(S->getEntity())) in CppLookupName()
2188 (S->getEntity() && S->getEntity()->isTransparentContext())) in LookupName()
4257 if (!S->getEntity() || in lookupInScope()
4258 (!S->getParent() && !Visited.alreadyVisitedContext(S->getEntity())) || in lookupInScope()
4259 (S->getEntity())->isFunctionOrMethod()) { in lookupInScope()
H A DSemaCXXScopeSpec.cpp297 if (CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(S->getEntity())) in ActOnSuperScopeSpecifier()
302 RD = cast<CXXRecordDecl>(S->getEntity()); in ActOnSuperScopeSpecifier()
H A DSemaDecl.cpp1355 assert(!S->getEntity() && "scope already has entity"); in EnterDeclaratorContext()
1359 while (!Ancestor->getEntity()) Ancestor = Ancestor->getParent(); in EnterDeclaratorContext()
1360 assert(Ancestor->getEntity() == CurContext && "ancestor context mismatch"); in EnterDeclaratorContext()
1374 assert(S->getEntity() == CurContext && "Context imbalance!"); in ExitDeclaratorContext()
1379 while (!Ancestor->getEntity()) Ancestor = Ancestor->getParent(); in ExitDeclaratorContext()
1380 CurContext = Ancestor->getEntity(); in ExitDeclaratorContext()
1499 while (S->getEntity() && S->getEntity()->isTransparentContext()) in PushOnScopeChains()
1565 if (DeclContext *ScopeDC = S->getEntity()) in getScopeForDeclContext()
2262 (S->getEntity() && S->getEntity()->isTransparentContext()) || in getNonFieldDeclScope()
9632 (S->getEntity() && S->getEntity()->isTransparentContext())) in getTagInjectionScope()
[all …]
H A DSemaLambda.cpp1092 while (P->getEntity() && P->getEntity()->isRequiresExprBody()) in ActOnLambdaExpressionAfterIntroducer()
H A DSemaCodeComplete.cpp5208 if (DeclContext *Ctx = DepScope->getEntity()) { in AddRecordMembersCompletionResults()
5563 return Inner ? Inner->getEntity() : nullptr; in getTemplatedEntity()
6714 if (S->getEntity()) { in CodeCompleteQualifiedId()
6715 CodeCompletionDeclConsumer Consumer(DummyResults, S->getEntity(), in CodeCompleteQualifiedId()
6843 DeclContext *Ctx = S->getEntity(); in CodeCompleteNamespaceDecl()
7096 DeclContext *DC = S->getEntity(); in isNamespaceScope()
9678 if (DeclContext *DC = S->getEntity()) in CodeCompleteObjCMethodDecl()
H A DSema.cpp2155 if (DeclContext *Entity = S->getEntity()) in getScopeForContext()
H A DSemaExprCXX.cpp427 Destroyed = dyn_cast_or_null<CXXRecordDecl>(S->getEntity()); in getDestructorName()
H A DSemaTemplate.cpp7784 DeclContext *Ctx = S->getEntity(); in CheckTemplateDeclScope()
H A DSemaDeclCXX.cpp12185 DeclContext *Ctx = S->getEntity(); in PushUsingDirective()
/freebsd/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 getName()
299 const DILabel *getLabel() const { return cast<DILabel>(getEntity()); }
H A DDwarfCompileUnit.cpp1352 auto *Entity = Module->getEntity(); in constructImportedEntityDIE()
1431 DbgEntity *AbsEntity = getExistingAbstractEntity(Entity->getEntity()); in finishEntityDefinition()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DScope.h384 DeclContext *getEntity() const { in getEntity() function
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h3685 return getTemporary(getContext(), getTag(), getScope(), getEntity(),
3705 DINode *getEntity() const { return cast_or_null<DINode>(getRawEntity()); }
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDebugInfo.cpp227 auto *Entity = Import->getEntity(); in processCompileUnit()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp1689 Record.push_back(VE.getMetadataOrNullID(N->getEntity())); in writeDIImportedEntity()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp2276 Record.push_back(VE.getMetadataOrNullID(N->getEntity())); in writeDIImportedEntity()