Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Sema/
H A DScope.cpp148 if (S->getEntity()) in updateNRVOCandidate()
184 if (!getEntity()) in applyNRVO()
245 if (const DeclContext *DC = getEntity()) in dumpImpl()
H A DIdentifierResolver.cpp105 while (S->getEntity() && S->getEntity()->isTransparentContext()) in isDeclInScope()
H A DSemaLookup.cpp109 DeclContext *InnermostFileDC = InnermostFileScope->getEntity(); in visitScopeChain()
116 DeclContext *Ctx = S->getEntity(); in visitScopeChain()
1219 if (DeclContext *Ctx = S->getEntity()) in isNamespaceOrTranslationUnitScope()
1265 if (DeclContext *DC = PreS->getEntity()) in CppLookupName()
1335 dyn_cast_or_null<CXXRecordDecl>(S->getEntity())) in CppLookupName()
2181 (S->getEntity() && S->getEntity()->isTransparentContext())) in LookupName()
4293 if (!S->getEntity() || in lookupInScope()
4294 (!S->getParent() && !Visited.alreadyVisitedContext(S->getEntity())) || in lookupInScope()
4295 (S->getEntity())->isFunctionOrMethod()) { in lookupInScope()
H A DSemaCXXScopeSpec.cpp298 if (CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(S->getEntity())) in ActOnSuperScopeSpecifier()
303 RD = cast<CXXRecordDecl>(S->getEntity()); in ActOnSuperScopeSpecifier()
H A DSemaDecl.cpp1368 assert(!S->getEntity() && "scope already has entity"); in EnterDeclaratorContext()
1372 while (!Ancestor->getEntity()) Ancestor = Ancestor->getParent(); in EnterDeclaratorContext()
1387 assert(S->getEntity() == CurContext && "Context imbalance!"); in ExitDeclaratorContext()
1392 while (!Ancestor->getEntity()) Ancestor = Ancestor->getParent(); in ExitDeclaratorContext()
1393 CurContext = Ancestor->getEntity(); in ExitDeclaratorContext()
1513 while (S->getEntity() && S->getEntity()->isTransparentContext()) in PushOnScopeChains()
1575 if (DeclContext *ScopeDC = S->getEntity()) in getScopeForDeclContext()
2277 (S->getEntity() && S->getEntity()->isTransparentContext()) || in getNonFieldDeclScope()
9392 (S->getEntity() && S->getEntity()->isTransparentContext())) in getTagInjectionScope()
15440 while (!ContextScope->getEntity()) in ImplicitlyDefineFunction()
[all …]
H A DSemaCodeComplete.cpp5074 if (DeclContext *Ctx = DepScope->getEntity()) { in AddRecordMembersCompletionResults()
5428 return Inner ? Inner->getEntity() : nullptr; in getTemplatedEntity()
6524 if (S->getEntity()) { in CodeCompleteQualifiedId()
6525 CodeCompletionDeclConsumer Consumer(DummyResults, S->getEntity(), in CodeCompleteQualifiedId()
6648 DeclContext *Ctx = S->getEntity(); in CodeCompleteNamespaceDecl()
6895 DeclContext *DC = S->getEntity(); in isNamespaceScope()
9422 if (DeclContext *DC = S->getEntity()) in CodeCompleteObjCMethodDecl()
H A DSema.cpp2065 if (DeclContext *Entity = S->getEntity()) in getScopeForContext()
H A DSemaExprCXX.cpp422 Destroyed = dyn_cast_or_null<CXXRecordDecl>(S->getEntity()); in getDestructorName()
H A DSemaTemplate.cpp7997 DeclContext *Ctx = S->getEntity(); in CheckTemplateDeclScope()
H A DSemaDeclCXX.cpp11732 DeclContext *Ctx = S->getEntity(); in PushUsingDirective()
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.h85 const DINode *getEntity() const { return Entity; } in getEntity() function
167 return cast<DILocalVariable>(getEntity()); in getVariable()
242 const DILabel *getLabel() const { return cast<DILabel>(getEntity()); } in getLabel()
H A DDwarfCompileUnit.cpp1270 auto *Entity = Module->getEntity(); in constructImportedEntityDIE()
1318 DbgEntity *AbsEntity = getExistingAbstractEntity(Entity->getEntity()); in finishEntityDefinition()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DScope.h357 DeclContext *getEntity() const { in getEntity() function
/llvm-project-15.0.7/clang-tools-extra/clang-include-fixer/
H A DIncludeFixer.cpp218 for (const auto *Context = S->getEntity(); Context; in CorrectTypo()
/llvm-project-15.0.7/llvm/lib/IR/
H A DDebugInfo.cpp179 auto *Entity = Import->getEntity(); in processCompileUnit()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h3319 return getTemporary(getContext(), getTag(), getScope(), getEntity(),
3339 DINode *getEntity() const { return cast_or_null<DINode>(getRawEntity()); }
/llvm-project-15.0.7/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp1702 Record.push_back(VE.getMetadataOrNullID(N->getEntity())); in writeDIImportedEntity()
/llvm-project-15.0.7/llvm/unittests/IR/
H A DMetadataTest.cpp3113 EXPECT_EQ(Entity, N->getEntity()); in TEST_F()
/llvm-project-15.0.7/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp2092 Record.push_back(VE.getMetadataOrNullID(N->getEntity())); in writeDIImportedEntity()